summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parent75666d3db2692d799bc719a917f7c31e22a269e3 (diff)
Replace rcube_mdb2 with rcube_db
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update.sh b/bin/update.sh
index 83dd4a196..aa10c2fd7 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_db::factory($RCI->config['db_dsnw'], '', false);
+ $DB = 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";