projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c803f
)
Remove 'read' and 'write_db' from DSN. We should probably better use separate
author
Jan Schneider
<jan@horde.org>
Mon, 31 May 2010 12:20:51 +0000
(14:20 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 31 May 2010 16:22:31 +0000
(18:22 +0200)
properties for parameters and other optional objects/arrays.
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
938172d
..
1404721
100644
(file)
--- a/
framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
+++ b/
framework/Db/lib/Horde/Db/Adapter/Pdo/Mysql.php
@@
-94,7
+94,9
@@
class Horde_Db_Adapter_Pdo_Mysql extends Horde_Db_Adapter_Pdo_Base
unset(
$dsnOpts['adapter'],
$dsnOpts['username'],
- $dsnOpts['password']
+ $dsnOpts['password'],
+ $dsnOpts['read'],
+ $dsnOpts['write_db']
);
$dsnOpts = $this->_normalizeConfig($dsnOpts);