1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-17 06:04:10 +02:00

[ticket/16051] Remove mysql driver as it's no longer supported in PHP >= 7.0

PHPBB3-16051
This commit is contained in:
Marc Alexander
2019-10-06 12:07:35 +02:00
parent 68c197fd60
commit bd02c5bd08
26 changed files with 20 additions and 1035 deletions

View File

@@ -129,14 +129,7 @@ class create_schema extends \phpbb\install\task_base
if ($dbms === 'mysql')
{
if (version_compare($this->db->sql_server_info(true), '4.1.3', '>='))
{
$schema_name .= '_41';
}
else
{
$schema_name .= '_40';
}
$schema_name .= '_41';
}
$db_schema_path = $this->phpbb_root_path . 'install/schemas/' . $schema_name . '_schema.sql';

View File

@@ -102,14 +102,7 @@ class set_up_database extends \phpbb\install\task_base
if ($dbms === 'mysql')
{
if (version_compare($this->db->sql_server_info(true), '4.1.3', '>='))
{
$schema_name .= '_41';
}
else
{
$schema_name .= '_40';
}
$schema_name .= '_41';
}
$this->schema_file_path = $this->phpbb_root_path . 'install/schemas/' . $schema_name . '_schema.sql';