summaryrefslogtreecommitdiffstats
path: root/3dparty
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-16 20:51:26 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-16 20:51:26 +0200
commit3764b61be7a2e200ea7e0445561e7dbdb3f82173 (patch)
tree25bcceed614bd796e8a2f240ebb357d4116b425f /3dparty
parent519a84e0481b157d86d9fc676a66f7d4feda2c3a (diff)
downloadnextcloud-server-3764b61be7a2e200ea7e0445561e7dbdb3f82173.tar.gz
nextcloud-server-3764b61be7a2e200ea7e0445561e7dbdb3f82173.zip
remove php 4 constructors
Diffstat (limited to '3dparty')
-rw-r--r--3dparty/MDB2.php57
1 files changed, 0 insertions, 57 deletions
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)
@@ -4273,17 +4227,6 @@ class MDB2_Module_Common
}
// }}}
- // {{{ function MDB2_Module_Common($db_index)
-
- /**
- * PHP 4 Constructor
- */
- function MDB2_Module_Common($db_index)
- {
- $this->__construct($db_index);
- }
-
- // }}}
// {{{ function &getDBInstance()
/**