summaryrefslogtreecommitdiff
path: root/program/lib/PEAR.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-10-14 06:55:57 +0000
committeralecpl <alec@alec.pl>2009-10-14 06:55:57 +0000
commitab46578d98853cfddab3bd47456c918feb3584bf (patch)
tree0fe326c0375df2e3def3f97e9263f227e399c854 /program/lib/PEAR.php
parent65c0a0e591d917e87d54f499f9b25da522746aed (diff)
- removed deprecated returning value of new by reference
Diffstat (limited to 'program/lib/PEAR.php')
-rw-r--r--program/lib/PEAR.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/PEAR.php b/program/lib/PEAR.php
index 9c2c67bcf..61862a956 100644
--- a/program/lib/PEAR.php
+++ b/program/lib/PEAR.php
@@ -560,10 +560,10 @@ class PEAR
$ec = 'PEAR_Error';
}
if ($skipmsg) {
- $a = &new $ec($code, $mode, $options, $userinfo);
+ $a = new $ec($code, $mode, $options, $userinfo);
return $a;
} else {
- $a = &new $ec($message, $code, $mode, $options, $userinfo);
+ $a = new $ec($message, $code, $mode, $options, $userinfo);
return $a;
}
}