summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib/PEAR.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-10-14 06:55:57 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-10-14 06:55:57 +0000
commit0033cad3d366722912342c2d280a6eb93117b521 (patch)
tree2b6e22a2b3fc11a289a5662f1b8a3da93159392c /roundcubemail/program/lib/PEAR.php
parentb52434c188e56ee12f7c1823876ce8ae064854e3 (diff)
- removed deprecated returning value of new by reference
git-svn-id: https://svn.roundcube.net/trunk@3039 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/PEAR.php')
-rw-r--r--roundcubemail/program/lib/PEAR.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/PEAR.php b/roundcubemail/program/lib/PEAR.php
index 9c2c67bcf..61862a956 100644
--- a/roundcubemail/program/lib/PEAR.php
+++ b/roundcubemail/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;
}
}