From 7a9da280e5ec388daf68f32f06e9727b8d5b930b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 13 Jan 2011 01:23:29 -0500 Subject: [PATCH] We have a factory bound to 'Horde_Db_Adapter' for the default horde db. Still need to inject the adapter into the driver(s)... --- turba/lib/Driver/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0