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

[ticket/10809] Remove MSSQL support

PHPBB3-10809
This commit is contained in:
Jakub Senko
2016-03-29 21:21:35 +02:00
parent 3d4660a703
commit c64b8102b7
19 changed files with 4 additions and 633 deletions

View File

@@ -112,7 +112,6 @@ class acp_database
$extractor->flush('DELETE FROM ' . $table_name . ";\n");
break;
case 'mssql':
case 'mssql_odbc':
case 'mssqlnative':
$extractor->flush('TRUNCATE TABLE ' . $table_name . "GO\n");
@@ -352,7 +351,6 @@ class acp_database
}
break;
case 'mssql':
case 'mssql_odbc':
case 'mssqlnative':
while (($sql = $fgetd($fp, "GO\n", $read, $seek, $eof)) !== false)

View File

@@ -231,7 +231,6 @@ class acp_reasons
break;
// Standard? What's that?
case 'mssql':
case 'mssql_odbc':
case 'mssqlnative':
// Change the reports using this reason to 'other'

View File

@@ -2856,7 +2856,6 @@ function get_database_size()
break;
case 'mssql':
case 'mssql_odbc':
case 'mssqlnative':
$sql = 'SELECT @@VERSION AS mssql_version';

View File

@@ -1652,7 +1652,6 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting = ACL_NO)
$sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary));
break;
case 'mssql':
case 'sqlite':
case 'sqlite3':
case 'mssqlnative':

View File

@@ -1470,7 +1470,6 @@ class parse_message extends bbcode_firstpass
// For now setting the ttl to 10 minutes
switch ($db->get_sql_layer())
{
case 'mssql':
case 'mssql_odbc':
case 'mssqlnative':
$sql = 'SELECT *