summaryrefslogtreecommitdiff
path: root/bin/update.sh
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-19 11:33:23 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-19 11:33:23 +0200
commit398bff59254590cbaebec7d62b1f000f271648aa (patch)
treebf19440568e83a8cab1171532a549b7f56d87094 /bin/update.sh
parent0d94fd45f422fe0d0460f5db7a7761f56bc18236 (diff)
Replace rcube_mdb2/PEAR::MDB2 with rcube_db
Diffstat (limited to 'bin/update.sh')
-rwxr-xr-xbin/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update.sh b/bin/update.sh
index 60dc95b9d..83dd4a196 100755
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -137,7 +137,7 @@ if ($RCI->configured) {
// check database schema
if ($RCI->config['db_dsnw']) {
- $DB = new rcube_mdb2($RCI->config['db_dsnw'], '', false);
+ $DB = new rcube_db::factory($RCI->config['db_dsnw'], '', false);
$DB->db_connect('w');
if ($db_error_msg = $DB->is_error()) {
echo "Error connecting to database: $db_error_msg\n";