]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove php 4 constructors
authorRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 18:51:26 +0000 (20:51 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 16 Apr 2011 18:51:26 +0000 (20:51 +0200)
3dparty/MDB2.php

index e7be72babc7fb52d3730d7782539f704f74f896f..9ad63f700855f6d2a7ebddaf6487c41255fa3af9 100644 (file)
@@ -1352,17 +1352,6 @@ class MDB2_Driver_Common extends PEAR
         $this->db_index = $db_index;
     }
 
-    // }}}
-    // {{{ function MDB2_Driver_Common()
-
-    /**
-     * PHP 4 Constructor
-     */
-    function MDB2_Driver_Common()
-    {
-        $this->destructor_registered = false;
-        $this->__construct();
-    }
 
     // }}}
     // {{{ destructor: function __destruct()
@@ -3452,16 +3441,6 @@ class MDB2_Result_Common extends MDB2_Result
         $this->limit = max(0, $limit - 1);
     }
 
-    // }}}
-    // {{{ function MDB2_Result_Common(&$db, &$result, $limit = 0, $offset = 0)
-
-    /**
-     * PHP 4 Constructor
-     */
-    function MDB2_Result_Common(&$db, &$result, $limit = 0, $offset = 0)
-    {
-        $this->__construct($db, $result, $limit, $offset);
-    }
 
     // }}}
     // {{{ function setResultTypes($types)
@@ -3920,21 +3899,6 @@ class MDB2_Row
             $this->$key = &$row[$key];
         }
     }
-
-    // }}}
-    // {{{ function MDB2_Row(&$row)
-
-    /**
-     * PHP 4 Constructor
-     *
-     * @param   resource    row data as array
-     */
-    function MDB2_Row(&$row)
-    {
-        $this->__construct($row);
-    }
-
-    // }}}
 }
 
 // }}}
@@ -3980,16 +3944,6 @@ class MDB2_Statement_Common
         $this->offset = $offset;
     }
 
-    // }}}
-    // {{{ function MDB2_Statement_Common(&$db, &$statement, $positions, $query, $types, $result_types, $is_manip = false, $limit = null, $offset = null)
-
-    /**
-     * PHP 4 Constructor
-     */
-    function MDB2_Statement_Common(&$db, &$statement, $positions, $query, $types, $result_types, $is_manip = false, $limit = null, $offset = null)
-    {
-        $this->__construct($db, $statement, $positions, $query, $types, $result_types, $is_manip, $limit, $offset);
-    }
 
     // }}}
     // {{{ function bindValue($parameter, &$value, $type = null)
@@ -4272,17 +4226,6 @@ class MDB2_Module_Common
         $this->db_index = $db_index;
     }
 
-    // }}}
-    // {{{ function MDB2_Module_Common($db_index)
-
-    /**
-     * PHP 4 Constructor
-     */
-    function MDB2_Module_Common($db_index)
-    {
-        $this->__construct($db_index);
-    }
-
     // }}}
     // {{{ function &getDBInstance()