1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10: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

@@ -134,7 +134,7 @@ class add_default_data extends \phpbb\install\task_base
*/
protected function replace_dbms_specific_sql($query)
{
if ($this->db instanceof \phpbb\db\driver\mssql_base || $this->db instanceof \phpbb\db\driver\mssql)
if ($this->db instanceof \phpbb\db\driver\mssql_base)
{
$query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', 'SET IDENTITY_INSERT \1 \2;', $query);
}