From: Michael J. Rubinsky Date: Thu, 13 Jan 2011 06:23:29 +0000 (-0500) Subject: We have a factory bound to 'Horde_Db_Adapter' for the default horde db. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7a9da280e5ec388daf68f32f06e9727b8d5b930b;p=horde.git We have a factory bound to 'Horde_Db_Adapter' for the default horde db. Still need to inject the adapter into the driver(s)... --- diff --git a/turba/lib/Driver/Sql.php b/turba/lib/Driver/Sql.php index 72a1de2c1..5a74b125d 100644 --- a/turba/lib/Driver/Sql.php +++ b/turba/lib/Driver/Sql.php @@ -47,7 +47,7 @@ class Turba_Driver_Sql extends Turba_Driver // TODO: Move to injector if (empty($this->_params['sql'])) { try { - $this->_db = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Db')->create(); + $this->_db = $GLOBALS['injector']->getInstance('Horde_Db_Adapter'); } catch (Horde_Db_Exception $e) { throw new Turba_Exception($e); }