summaryrefslogtreecommitdiff
path: root/installer/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/test.php')
-rw-r--r--installer/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/test.php b/installer/test.php
index 87896009c..f09b2f7c7 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -125,7 +125,7 @@ else {
$db_working = false;
if ($RCI->configured) {
if (!empty($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())) {