aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module/install_database
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-03-29 21:21:35 +0200
committerJakub Senko <jakubsenko@gmail.com>2016-08-02 12:06:06 +0200
commitc64b8102b7c5dc5bd0be9d8085d01a66e90dde73 (patch)
tree7c585d4894c22bb36ce3bb8435c069bbb58fd6c7 /phpBB/phpbb/install/module/install_database
parent3d4660a703ecd8d6e0273ad183ef38a7a139c81a (diff)
downloadforums-c64b8102b7c5dc5bd0be9d8085d01a66e90dde73.tar
forums-c64b8102b7c5dc5bd0be9d8085d01a66e90dde73.tar.gz
forums-c64b8102b7c5dc5bd0be9d8085d01a66e90dde73.tar.bz2
forums-c64b8102b7c5dc5bd0be9d8085d01a66e90dde73.tar.xz
forums-c64b8102b7c5dc5bd0be9d8085d01a66e90dde73.zip
[ticket/10809] Remove MSSQL support
PHPBB3-10809
Diffstat (limited to 'phpBB/phpbb/install/module/install_database')
-rw-r--r--phpBB/phpbb/install/module/install_database/task/add_default_data.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/module/install_database/task/add_default_data.php b/phpBB/phpbb/install/module/install_database/task/add_default_data.php
index f5157637ee..e32101a3f7 100644
--- a/phpBB/phpbb/install/module/install_database/task/add_default_data.php
+++ b/phpBB/phpbb/install/module/install_database/task/add_default_data.php
@@ -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);
}