summaryrefslogtreecommitdiff
path: root/bin/update.sh
diff options
context:
space:
mode:
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 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";