diff options
author | Thomas Zander <zander@kde.org> | 2011-06-08 23:12:06 +0200 |
---|---|---|
committer | Thomas Zander <zander@kde.org> | 2011-06-13 13:48:25 +0200 |
commit | 80194daec7b612a356daac7c13ccc904a70ffbbf (patch) | |
tree | 15a47e3c441231b4a03b2f6509e8297b3f05b19d /3dparty/MDB2 | |
parent | 1ea43dd7f9928ac6e74f36822ccb4deeeb804db3 (diff) | |
download | nextcloud-server-80194daec7b612a356daac7c13ccc904a70ffbbf.tar.gz nextcloud-server-80194daec7b612a356daac7c13ccc904a70ffbbf.zip |
Fix php4 legacy calls
Reviewed-by: Robin Appelman
Reviewboard: http://git.reviewboard.kde.org/r/101549/
Diffstat (limited to '3dparty/MDB2')
-rw-r--r-- | 3dparty/MDB2/Schema/Parser.php | 9 | ||||
-rw-r--r-- | 3dparty/MDB2/Schema/Validate.php | 5 |
2 files changed, 1 insertions, 13 deletions
diff --git a/3dparty/MDB2/Schema/Parser.php b/3dparty/MDB2/Schema/Parser.php index bd7a9657932..b740ef55fa8 100644 --- a/3dparty/MDB2/Schema/Parser.php +++ b/3dparty/MDB2/Schema/Parser.php @@ -127,13 +127,6 @@ class MDB2_Schema_Parser extends XML_Parser $this->val =new MDB2_Schema_Validate($fail_on_invalid_names, $valid_types, $force_defaults); } - function MDB2_Schema_Parser($variables, $fail_on_invalid_names = true, - $structure = false, $valid_types = array(), - $force_defaults = true) - { - $this->__construct($variables, $fail_on_invalid_names, $structure, $valid_types, $force_defaults); - } - function startHandler($xp, $element, $attribs) { if (strtolower($element) == 'variable') { @@ -503,7 +496,7 @@ class MDB2_Schema_Parser extends XML_Parser $this->element = implode('-', $this->elements); } - function &raiseError($msg = null, $xmlecode = 0, $xp = null, $ecode = MDB2_SCHEMA_ERROR_PARSE,$a=null,$b=null,$c=null) + function raiseError($msg = null, $xmlecode = 0, $xp = null, $ecode = MDB2_SCHEMA_ERROR_PARSE,$a=null,$b=null,$c=null) { if (is_null($this->error)) { $error = ''; diff --git a/3dparty/MDB2/Schema/Validate.php b/3dparty/MDB2/Schema/Validate.php index 21be024ce9f..217cf51b959 100644 --- a/3dparty/MDB2/Schema/Validate.php +++ b/3dparty/MDB2/Schema/Validate.php @@ -91,11 +91,6 @@ class MDB2_Schema_Validate $this->force_defaults = $force_defaults; } - function MDB2_Schema_Validate($fail_on_invalid_names = true, $valid_types = array(), $force_defaults = true) - { - $this->__construct($fail_on_invalid_names, $valid_types, $force_defaults); - } - // }}} // {{{ raiseError() |