projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
438ccf8
)
Unset options that Horde_Db doesn't know here.
author
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 14:05:26 +0000
(16:05 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 21 Sep 2010 14:05:26 +0000
(16:05 +0200)
framework/Core/lib/Horde/Core/Factory/Db.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Factory/Db.php
b/framework/Core/lib/Horde/Core/Factory/Db.php
index
dc00a6f
..
8749ca7
100644
(file)
--- 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'])) {