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 | |
parent | ddf0903ace00d201e4575790d9e910b2bc24496b (diff) | |
download | nextcloud-server-77e2387d94b7f6c9574cbed8a5d242628391906c.tar.gz nextcloud-server-77e2387d94b7f6c9574cbed8a5d242628391906c.zip |
more MDB2 updates
Diffstat (limited to '3rdparty/PEAR')
-rw-r--r-- | 3rdparty/PEAR/Autoloader.php | 2 | ||||
-rw-r--r-- | 3rdparty/PEAR/Command.php | 6 | ||||
-rw-r--r-- | 3rdparty/PEAR/Common.php | 2 | ||||
-rw-r--r-- | 3rdparty/PEAR/PackageFile/Generator/v1.php | 2 | ||||
-rw-r--r-- | 3rdparty/PEAR/PackageFile/Generator/v2.php | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/3rdparty/PEAR/Autoloader.php b/3rdparty/PEAR/Autoloader.php index 0ed707ec842..51620c7085f 100644 --- a/3rdparty/PEAR/Autoloader.php +++ b/3rdparty/PEAR/Autoloader.php @@ -144,7 +144,7 @@ class PEAR_Autoloader extends PEAR $include_file = preg_replace('/[^a-z0-9]/i', '_', $classname); include_once $include_file; } - $obj =& new $classname; + $obj = new $classname; $methods = get_class_methods($classname); foreach ($methods as $method) { // don't import priviate methods and constructors diff --git a/3rdparty/PEAR/Command.php b/3rdparty/PEAR/Command.php index db39b8f36f3..13518d4e4b2 100644 --- a/3rdparty/PEAR/Command.php +++ b/3rdparty/PEAR/Command.php @@ -133,8 +133,8 @@ class PEAR_Command $a = PEAR::raiseError("unknown command `$command'"); return $a; } - $ui =& PEAR_Command::getFrontendObject(); - $obj = &new $class($ui, $config); + $ui = PEAR_Command::getFrontendObject(); + $obj = new $class($ui, $config); return $obj; } @@ -149,7 +149,7 @@ class PEAR_Command if (!class_exists($class)) { return PEAR::raiseError("unknown command `$command'"); } - $ui =& PEAR_Command::getFrontendObject(); + $ui = PEAR_Command::getFrontendObject(); $config = &PEAR_Config::singleton(); $obj = &new $class($ui, $config); return $obj; diff --git a/3rdparty/PEAR/Common.php b/3rdparty/PEAR/Common.php index 3a8c7e80d33..83f2de742ac 100644 --- a/3rdparty/PEAR/Common.php +++ b/3rdparty/PEAR/Common.php @@ -168,7 +168,7 @@ class PEAR_Common extends PEAR function PEAR_Common() { parent::PEAR(); - $this->config = &PEAR_Config::singleton(); + $this->config = PEAR_Config::singleton(); $this->debug = $this->config->get('verbose'); } diff --git a/3rdparty/PEAR/PackageFile/Generator/v1.php b/3rdparty/PEAR/PackageFile/Generator/v1.php index 2f42f178d59..69a4818799e 100644 --- a/3rdparty/PEAR/PackageFile/Generator/v1.php +++ b/3rdparty/PEAR/PackageFile/Generator/v1.php @@ -109,7 +109,7 @@ class PEAR_PackageFile_Generator_v1 // }}} $packagexml = $this->toPackageFile($where, PEAR_VALIDATE_PACKAGING, 'package.xml', true); if ($packagexml) { - $tar =& new Archive_Tar($dest_package, $compress); + $tar = new Archive_Tar($dest_package, $compress); $tar->setErrorHandling(PEAR_ERROR_RETURN); // XXX Don't print errors // ----- Creates with the package.xml file $ok = $tar->createModify(array($packagexml), '', $where); diff --git a/3rdparty/PEAR/PackageFile/Generator/v2.php b/3rdparty/PEAR/PackageFile/Generator/v2.php index 4d202df27d3..8250e0ac4d0 100644 --- a/3rdparty/PEAR/PackageFile/Generator/v2.php +++ b/3rdparty/PEAR/PackageFile/Generator/v2.php @@ -269,7 +269,7 @@ http://pear.php.net/dtd/package-2.0.xsd', $name = $pf1 !== null ? 'package2.xml' : 'package.xml'; $packagexml = $this->toPackageFile($where, PEAR_VALIDATE_PACKAGING, $name); if ($packagexml) { - $tar =& new Archive_Tar($dest_package, $compress); + $tar = new Archive_Tar($dest_package, $compress); $tar->setErrorHandling(PEAR_ERROR_RETURN); // XXX Don't print errors // ----- Creates with the package.xml file $ok = $tar->createModify(array($packagexml), '', $where); |