summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-12-01 13:28:42 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-12-01 13:28:42 +0000
commit7a2652698d83454ef2c948cb067c8674517b8424 (patch)
treec201bec452033140ed31117f929fca811136fcda
parentf961684faf90e25a7e4d56a14acfd41394368928 (diff)
#1485590: don't use mysql5.initial.sql
git-svn-id: https://svn.roundcube.net/trunk@2103 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/installer/rcube_install.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/roundcubemail/installer/rcube_install.php b/roundcubemail/installer/rcube_install.php
index cb9333e30..a20a99025 100644
--- a/roundcubemail/installer/rcube_install.php
+++ b/roundcubemail/installer/rcube_install.php
@@ -479,16 +479,6 @@ class rcube_install
$db_map = array('pgsql' => 'postgres', 'mysqli' => 'mysql');
$engine = isset($db_map[$DB->db_provider]) ? $db_map[$DB->db_provider] : $DB->db_provider;
- // find out db version
- if ($engine == 'mysql') {
- $DB->query('SELECT VERSION() AS version');
- $sql_arr = $DB->fetch_assoc();
- $version = floatval($sql_arr['version']);
-
- if ($version >= 4.1)
- $engine = 'mysql5';
- }
-
// read schema file from /SQL/*
$fname = "../SQL/$engine.initial.sql";
if ($lines = @file($fname, FILE_SKIP_EMPTY_LINES)) {