aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/database.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-10-13 12:29:34 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-10-13 12:29:34 +0200
commit8c2d0c8c3639bbfc2799d372cc7aafcb62fc4b8a (patch)
tree14dfe3014300268e2f775f86075fd89d5552a004 /phpBB/phpbb/install/helper/database.php
parent6f48b3c044a5339bc019f355db490e1a53b51fdc (diff)
parente8b4304c1bbe35784b4cac5dd4059d6a4ac2dcac (diff)
downloadforums-8c2d0c8c3639bbfc2799d372cc7aafcb62fc4b8a.tar
forums-8c2d0c8c3639bbfc2799d372cc7aafcb62fc4b8a.tar.gz
forums-8c2d0c8c3639bbfc2799d372cc7aafcb62fc4b8a.tar.bz2
forums-8c2d0c8c3639bbfc2799d372cc7aafcb62fc4b8a.tar.xz
forums-8c2d0c8c3639bbfc2799d372cc7aafcb62fc4b8a.zip
Merge pull request #5708 from marc1706/ticket/16051
[ticket/16051] Remove mysql driver as it's no longer supported in PHP >= 7.0
Diffstat (limited to 'phpBB/phpbb/install/helper/database.php')
-rw-r--r--phpBB/phpbb/install/helper/database.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/phpBB/phpbb/install/helper/database.php b/phpBB/phpbb/install/helper/database.php
index fa5a10c6fc..51fd18f874 100644
--- a/phpBB/phpbb/install/helper/database.php
+++ b/phpBB/phpbb/install/helper/database.php
@@ -45,15 +45,6 @@ class database
'AVAILABLE' => true,
'2.0.x' => true,
),
- 'mysql' => array(
- 'LABEL' => 'MySQL',
- 'SCHEMA' => 'mysql',
- 'MODULE' => 'mysql',
- 'DELIM' => ';',
- 'DRIVER' => 'phpbb\db\driver\mysql',
- 'AVAILABLE' => true,
- '2.0.x' => true,
- ),
'mssql_odbc'=> array(
'LABEL' => 'MS SQL Server [ ODBC ]',
'SCHEMA' => 'mssql',
@@ -256,7 +247,6 @@ class database
$dbms_info = $this->get_available_dbms($dbms);
switch ($dbms_info[$dbms]['SCHEMA'])
{
- case 'mysql':
case 'mysql_41':
$prefix_length = 36;
break;
@@ -382,14 +372,6 @@ class database
// Check if database version is supported
switch ($dbms)
{
- case 'mysqli':
- if (version_compare($db->sql_server_info(true), '4.1.3', '<'))
- {
- $errors[] = array(
- 'title' => 'INST_ERR_DB_NO_MYSQLI',
- );
- }
- break;
case 'sqlite3':
if (version_compare($db->sql_server_info(true), '3.6.15', '<'))
{