summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-12-01 13:28:42 +0000
committeralecpl <alec@alec.pl>2008-12-01 13:28:42 +0000
commit2fdbeb71b86be4a0f8ae7383ae7ac30c3bd09d95 (patch)
tree6d4b99c1bb1a3cedbaa4b22cea36b43c61b8b4d0 /installer/rcube_install.php
parent9b3dc91f828576cb381c320df6782f9c2671638d (diff)
#1485590: don't use mysql5.initial.sql
Diffstat (limited to 'installer/rcube_install.php')
-rw-r--r--installer/rcube_install.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index cb9333e30..a20a99025 100644
--- a/installer/rcube_install.php
+++ b/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)) {