From: Jan Schneider Date: Tue, 21 Sep 2010 14:05:26 +0000 (+0200) Subject: Unset options that Horde_Db doesn't know here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=185aed44ff868d26c85fd0437a96922d25a75d36;p=horde.git Unset options that Horde_Db doesn't know here. --- diff --git a/framework/Core/lib/Horde/Core/Factory/Db.php b/framework/Core/lib/Horde/Core/Factory/Db.php index dc00a6f77..8749ca716 100644 --- a/framework/Core/lib/Horde/Core/Factory/Db.php +++ b/framework/Core/lib/Horde/Core/Factory/Db.php @@ -145,6 +145,10 @@ class Horde_Core_Factory_Db $class = 'Horde_Db_Adapter_' . $adapter; if (class_exists($class)) { + unset($config['read'], + $config['write_db'], + $config['hostspec'], + $config['splitread']); $ob = new $class($config); if (!isset($config['cache'])) {