diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-13 20:49:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-13 20:53:55 +0200 |
commit | 77e2387d94b7f6c9574cbed8a5d242628391906c (patch) | |
tree | 115763ce8937aea7a51d294152b66f59d71c1ae1 /3rdparty/PEAR.php | |
parent | ddf0903ace00d201e4575790d9e910b2bc24496b (diff) | |
download | nextcloud-server-77e2387d94b7f6c9574cbed8a5d242628391906c.tar.gz nextcloud-server-77e2387d94b7f6c9574cbed8a5d242628391906c.zip |
more MDB2 updates
Diffstat (limited to '3rdparty/PEAR.php')
-rw-r--r-- | 3rdparty/PEAR.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/3rdparty/PEAR.php b/3rdparty/PEAR.php index 2aa85259d62..501f6a653d8 100644 --- a/3rdparty/PEAR.php +++ b/3rdparty/PEAR.php @@ -247,7 +247,7 @@ class PEAR * @access public * @return bool true if parameter is an error */ - function isError($data, $code = null) + static function isError($data, $code = null) { if (!is_a($data, 'PEAR_Error')) { return false; @@ -469,7 +469,7 @@ class PEAR * @see PEAR::setErrorHandling * @since PHP 4.0.5 */ - function &raiseError($message = null, + static function &raiseError($message = null, $code = null, $mode = null, $options = null, @@ -555,11 +555,11 @@ class PEAR function &throwError($message = null, $code = null, $userinfo = null) { if (isset($this) && is_a($this, 'PEAR')) { - $a = &$this->raiseError($message, $code, null, null, $userinfo); + $a = $this->raiseError($message, $code, null, null, $userinfo); return $a; } - $a = &PEAR::raiseError($message, $code, null, null, $userinfo); + $a = PEAR::raiseError($message, $code, null, null, $userinfo); return $a; } @@ -695,7 +695,7 @@ class PEAR * @param string $ext The extension name * @return bool Success or not on the dl() call */ - function loadExtension($ext) + static function loadExtension($ext) { if (extension_loaded($ext)) { return true; |