Encore d'autres
authorMoussa NOMBRÉ <mnombre@u-nm.b.ca.auf>
Thu, 28 Jun 2012 15:07:15 +0000 (11:07 -0400)
committerMoussa NOMBRÉ <mnombre@u-nm.b.ca.auf>
Thu, 28 Jun 2012 15:07:15 +0000 (11:07 -0400)
lodel-0.9/scripts/PEAR/Log.php
lodel-0.9/scripts/PEAR/Mail/mimeDecode.php

index 1460376..7f2494d 100644 (file)
@@ -144,7 +144,7 @@ class Log
 
         /* If the class exists, return a new instance of it. */
         if (class_exists($class)) {
-            $obj = &new $class($name, $ident, $conf, $level);
+            $obj = new $class($name, $ident, $conf, $level);
             return $obj;
         }
 
index d279cb0..de11f4e 100644 (file)
@@ -291,7 +291,7 @@ class Mail_mimeDecode extends PEAR
                     break;
 
                 case 'message/rfc822':
-                    $obj = &new Mail_mimeDecode($body);
+                    $obj = new Mail_mimeDecode($body);
                     $return->parts[] = $obj->decode(array('include_bodies' => $this->_include_bodies));
                     unset($obj);
                     break;