From 398bff59254590cbaebec7d62b1f000f271648aa Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 19 Jun 2012 05:33:23 -0400 Subject: [PATCH] Replace rcube_mdb2/PEAR::MDB2 with rcube_db --- installer/test.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/test.php b/installer/test.php index 2dd3305..8789600 100644 --- a/installer/test.php +++ b/installer/test.php @@ -125,9 +125,9 @@ $db_working = false; if ($RCI->configured) { if (!empty($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())) { $RCI->pass('DSN (write)'); echo '<br />'; -- Gitblit v1.9.1