summaryrefslogtreecommitdiff
path: root/plugins/password/drivers/sql.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-19 12:00:07 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-19 12:00:07 +0200
commit91f2271fac29340b5eee3bb6657456bd5d161548 (patch)
tree6412657c45bfc05877de4831ea608a8dc7ace13c /plugins/password/drivers/sql.php
parent75666d3db2692d799bc719a917f7c31e22a269e3 (diff)
Replace rcube_mdb2 with rcube_db
Diffstat (limited to 'plugins/password/drivers/sql.php')
-rw-r--r--plugins/password/drivers/sql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/password/drivers/sql.php b/plugins/password/drivers/sql.php
index e9207300e..449e2df5b 100644
--- a/plugins/password/drivers/sql.php
+++ b/plugins/password/drivers/sql.php
@@ -26,7 +26,7 @@ class rcube_sql_password
else if (!is_array($dsn) && !preg_match('/\?new_link=true/', $dsn))
$dsn .= '?new_link=true';
- $db = new rcube_mdb2($dsn, '', FALSE);
+ $db = rcube_db::factory($dsn, '', false);
$db->set_debug((bool)$rcmail->config->get('sql_debug'));
$db->db_connect('w');
}