use the DbBase factory here
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 12 Jan 2011 20:17:10 +0000 (15:17 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 01:43:01 +0000 (20:43 -0500)
kronolith/lib/Injector/Factory/Storage.php

index 9b2bf89..76fcedb 100644 (file)
@@ -57,7 +57,7 @@ class Kronolith_Injector_Factory_Storage
                 $params['db'] = $this->_injector->getInstance('Horde_Core_Factory_Db')->create('kronolith', Horde::getDriverConfig('storage', 'Sql'));
             } else {
                 // Horde default DB config
-                $params['db'] = $this->_injector->getInstance('Horde_Core_Factory_Db')->create();
+                $params['db'] = $this->_injector->getInstance('Horde_Core_Factory_DbBase')->create();
             }
             $params['table'] = $driver_params['table'];
         }