Need VFS::factory() here, singleton is no more...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 25 May 2010 14:41:54 +0000 (10:41 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 25 May 2010 14:41:54 +0000 (10:41 -0400)
framework/Core/lib/Horde/Core/Factory/Vfs.php

index 275da22..c33fd15 100644 (file)
@@ -58,7 +58,7 @@ class Horde_Core_Factory_Vfs
     {
         if (empty($this->_instances[$scope])) {
             $params = $this->getVFSConfig($scope);
-            $this->_instances[$scope] = VFS::singleton($params['type'], $params['params']);
+            $this->_instances[$scope] = VFS::factory($params['type'], $params['params']);
         }
 
         return $this->_instances[$scope];