diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-15 21:59:40 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-15 21:59:40 +0200 |
commit | cb833e45c230effac2194ae79e48a5d710c4d064 (patch) | |
tree | 3b849ff911f2b78ee2bf8d70809a6dabafe5097b /3rdparty | |
parent | e11c5a23d52ba0bfe082f36311a504c72278aa40 (diff) | |
download | nextcloud-server-cb833e45c230effac2194ae79e48a5d710c4d064.tar.gz nextcloud-server-cb833e45c230effac2194ae79e48a5d710c4d064.zip |
get rid of php4 style constructors in mdb2
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/MDB2/Schema/Parser.php | 27 | ||||
-rw-r--r-- | 3rdparty/MDB2/Schema/Parser2.php | 27 | ||||
-rw-r--r-- | 3rdparty/MDB2/Schema/Validate.php | 22 | ||||
-rw-r--r-- | 3rdparty/MDB2/Schema/Writer.php | 17 |
4 files changed, 0 insertions, 93 deletions
diff --git a/3rdparty/MDB2/Schema/Parser.php b/3rdparty/MDB2/Schema/Parser.php index cfd0c37d8a3..3c4345661b1 100644 --- a/3rdparty/MDB2/Schema/Parser.php +++ b/3rdparty/MDB2/Schema/Parser.php @@ -147,33 +147,6 @@ class MDB2_Schema_Parser extends XML_Parser } /** - * PHP 4 compatible constructor - * - * @param array $variables mixed array with user defined schema - * variables - * @param bool $fail_on_invalid_names array with reserved words per RDBMS - * @param array $structure multi dimensional array with - * database schema and data - * @param array $valid_types information of all valid fields - * types - * @param bool $force_defaults if true sets a default value to - * field when not explicit - * @param int $max_identifiers_length maximum allowed size for entities - * name - * - * @return void - * - * @access public - * @static - */ - function MDB2_Schema_Parser($variables, $fail_on_invalid_names = true, - $structure = false, $valid_types = array(), $force_defaults = true, - $max_identifiers_length = null - ) { - $this->__construct($variables, $fail_on_invalid_names, $structure, $valid_types, $force_defaults); - } - - /** * Triggered when reading a XML open tag <element> * * @param resource $xp xml parser resource diff --git a/3rdparty/MDB2/Schema/Parser2.php b/3rdparty/MDB2/Schema/Parser2.php index b415b4a336e..f27dffbabf9 100644 --- a/3rdparty/MDB2/Schema/Parser2.php +++ b/3rdparty/MDB2/Schema/Parser2.php @@ -144,33 +144,6 @@ class MDB2_Schema_Parser2 extends XML_Unserializer } /** - * PHP 4 compatible constructor - * - * @param array $variables mixed array with user defined schema - * variables - * @param bool $fail_on_invalid_names array with reserved words per RDBMS - * @param array $structure multi dimensional array with - * database schema and data - * @param array $valid_types information of all valid fields - * types - * @param bool $force_defaults if true sets a default value to - * field when not explicit - * @param int $max_identifiers_length maximum allowed size for entities - * name - * - * @return void - * - * @access public - * @static - */ - function MDB2_Schema_Parser2($variables, $fail_on_invalid_names = true, - $structure = false, $valid_types = array(), $force_defaults = true, - $max_identifiers_length = null - ) { - $this->__construct($variables, $fail_on_invalid_names, $structure, $valid_types, $force_defaults); - } - - /** * Main method. Parses XML Schema File. * * @return bool|error object diff --git a/3rdparty/MDB2/Schema/Validate.php b/3rdparty/MDB2/Schema/Validate.php index 4cff175576f..4a8e0d27bac 100644 --- a/3rdparty/MDB2/Schema/Validate.php +++ b/3rdparty/MDB2/Schema/Validate.php @@ -108,28 +108,6 @@ class MDB2_Schema_Validate $this->max_identifiers_length = $max_identifiers_length; } - /** - * PHP 4 compatible constructor - * - * @param bool $fail_on_invalid_names array with reserved words per RDBMS - * @param array $valid_types information of all valid fields - * types - * @param bool $force_defaults if true sets a default value to - * field when not explicit - * @param int $max_identifiers_length maximum allowed size for entities - * name - * - * @return void - * - * @access public - * @static - */ - function MDB2_Schema_Validate($fail_on_invalid_names = true, $valid_types = array(), - $force_defaults = true, $max_identifiers_length = null - ) { - $this->__construct($fail_on_invalid_names, $valid_types, $force_defaults); - } - // }}} // {{{ raiseError() diff --git a/3rdparty/MDB2/Schema/Writer.php b/3rdparty/MDB2/Schema/Writer.php index 70a03168de6..96dd2bed0fb 100644 --- a/3rdparty/MDB2/Schema/Writer.php +++ b/3rdparty/MDB2/Schema/Writer.php @@ -80,23 +80,6 @@ class MDB2_Schema_Writer function __construct($valid_types = array()) { $this->valid_types = $valid_types; - } - - /** - * PHP 4 compatible constructor - * - * @param array $valid_types information of all valid fields - * types - * - * @return void - * - * @access public - * @static - */ - function MDB2_Schema_Writer($valid_types = array()) - { - $this->__construct($valid_types); - } // }}} // {{{ raiseError() |