From: Robin Appelman Date: Sat, 16 Apr 2011 18:51:26 +0000 (+0200) Subject: remove php 4 constructors X-Git-Tag: v3.0~267^2~558^2~130 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3764b61be7a2e200ea7e0445561e7dbdb3f82173;p=nextcloud-server.git remove php 4 constructors --- diff --git a/3dparty/MDB2.php b/3dparty/MDB2.php index e7be72babc7..9ad63f70085 100644 --- a/3dparty/MDB2.php +++ b/3dparty/MDB2.php @@ -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()