projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c385ba3
)
Need to unset write_db here too.
author
Jan Schneider
<jan@horde.org>
Wed, 19 May 2010 14:41:20 +0000
(16:41 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 19 May 2010 14:41:20 +0000
(16:41 +0200)
framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
patch
|
blob
|
history
diff --git
a/framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
b/framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
index
2724f0b
..
5a260a7
100644
(file)
--- a/
framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
+++ b/
framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
@@
-87,7
+87,12
@@
class Horde_Db_Adapter_Pdo_Mysql extends Horde_Db_Adapter_Pdo_Base
// collect options to build PDO Data Source Name (DSN) string
$dsnOpts = $this->_config;
- unset($dsnOpts['adapter'], $dsnOpts['username'], $dsnOpts['password']);
+ unset(
+ $dsnOpts['adapter'],
+ $dsnOpts['username'],
+ $dsnOpts['password'],
+ $dsnOpts['write_db']
+ );
$dsnOpts = $this->_normalizeConfig($dsnOpts);
if (isset($dsnOpts['port'])) {