diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-08 08:21:45 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-08 08:21:45 +0200 |
commit | de56ea1909d515d3e4807a04a6c4644b8226d08d (patch) | |
tree | c8ad7166af152fe14887022e64b8a0de896cdfda /plugins/squirrelmail_usercopy/squirrelmail_usercopy.php | |
parent | d55c02ba0334192103344dd54701cec066aa65b5 (diff) | |
parent | c2b20fc0b4c6c1271fff9a85cb977d23de0a3421 (diff) |
Merge branch 'pdo'
Conflicts:
CHANGELOG
Diffstat (limited to 'plugins/squirrelmail_usercopy/squirrelmail_usercopy.php')
-rw-r--r-- | plugins/squirrelmail_usercopy/squirrelmail_usercopy.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php b/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php index ee6bcc04b..bfa489ae5 100644 --- a/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php +++ b/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php @@ -151,10 +151,10 @@ class squirrelmail_usercopy extends rcube_plugin $this->prefs = array(); /* connect to squirrelmail database */ - $db = new rcube_mdb2($rcmail->config->get('squirrelmail_dsn')); - $db->db_connect('r'); // connect in read mode + $db = rcube_db::factory($rcmail->config->get('squirrelmail_dsn')); - // $db->set_debug(true); + $db->set_debug($rcmail->config->get('sql_debug')); + $db->db_connect('r'); // connect in read mode /* retrieve prefs */ $userprefs_table = $rcmail->config->get('squirrelmail_userprefs_table'); |