Fix creating the Kolab data cache.
authorGunnar Wrobel <p@rdus.de>
Thu, 11 Mar 2010 19:13:53 +0000 (20:13 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Thu, 11 Mar 2010 21:35:02 +0000 (22:35 +0100)
framework/Kolab_Storage/lib/Horde/Kolab/Storage/Cache.php

index 8b65e8c..a6fd4b6 100644 (file)
@@ -152,7 +152,7 @@ class Horde_Kolab_Storage_Cache
                 $params = $GLOBALS['conf']['kolab']['storage']['cache']['data']['params'];
             }
         }
-        $this->horde_cache = $GLOBALS['injector']->getInstance('Horde_Cache');
+        $this->horde_cache = Horde_Cache::factory($driver, $params);
     }
 
     /**