OSDN Git Service

#17549 - Remove constructor with reference.
[mulab/sd2nd.git] / trust_path / modules / sd2nd / class / AssetManager.class.php
index b574f99..6c3dd49 100644 (file)
@@ -183,11 +183,11 @@ class Sd2nd_AssetManager
         if($type == 'handler')
         {
             $root =& XCube_Root::getSingleton();
-            $instance =& new $className($root->mController->getDB(),$this->mDirname);
+            $instance = new $className($root->mController->getDB(),$this->mDirname);
         }
         else
         {
-            $instance =& new $className();
+            $instance = new $className();
         }
         return $instance;
     }