summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-14 09:15:39 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-14 09:15:39 +0100
commitff54e9ae867fa7bfe6280cc33d42d2d9829da6cc (patch)
tree2ce752f01764f43a2eddd2110faa3eba2fd33af1
parent9be085b2f34e9e42ce9821ffadaca98f989e4364 (diff)
Remove unneeded $db_map
-rw-r--r--installer/rcube_install.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 29c18d9a5..bbb225bc7 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -29,7 +29,6 @@ class rcube_install
var $config = array();
var $configured = false;
var $last_error = null;
- var $db_map = array('pgsql' => 'postgres', 'mysqli' => 'mysql', 'sqlsrv' => 'mssql');
var $email_pattern = '([a-z0-9][a-z0-9\-\.\+\_]*@[a-z0-9]([a-z0-9\-][.]?)*[a-z0-9])';
var $bool_config_props = array();
@@ -604,7 +603,7 @@ class rcube_install
*/
function init_db($DB)
{
- $engine = isset($this->db_map[$DB->db_provider]) ? $this->db_map[$DB->db_provider] : $DB->db_provider;
+ $engine = $DB->db_provider;
// read schema file from /SQL/*
$fname = INSTALL_PATH . "SQL/$engine.initial.sql";