It's not yet clear how these apps will manager their databse connection, so just
authorChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:35:23 +0000 (17:35 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 14 Jan 2010 22:35:23 +0000 (17:35 -0500)
remove the line for now.

hippo/app/controllers/ApplicationController.php
hydra/app/controllers/ApplicationController.php

index 693431b..07d2f4d 100644 (file)
@@ -14,8 +14,5 @@ class Hippo_ApplicationController extends Horde_Controller_Base
      */
     protected function _initializeApplication()
     {
-        $GLOBALS['conf']['sql']['adapter'] = $GLOBALS['conf']['sql']['phptype'] == 'mysqli' ? 'mysqli' : 'pdo_' . $GLOBALS['conf']['sql']['phptype'];
-        $this->db = Horde_Db_Adapter::factory($GLOBALS['conf']['sql']);
     }
-
 }
index 0259c4b..9dd4269 100644 (file)
@@ -14,8 +14,5 @@ class Hydra_ApplicationController extends Horde_Controller_Base
      */
     protected function _initializeApplication()
     {
-        $GLOBALS['conf']['sql']['adapter'] = $GLOBALS['conf']['sql']['phptype'] == 'mysqli' ? 'mysqli' : 'pdo_' . $GLOBALS['conf']['sql']['phptype'];
-        $this->db = Horde_Db_Adapter::factory($GLOBALS['conf']['sql']);
     }
-
 }