aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module/install_database/task
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2016-09-25 17:19:13 +0200
committerTristan Darricau <github@nicofuma.fr>2016-09-25 17:19:13 +0200
commitde2c70127f61819d1771493016ec2935eadb7e91 (patch)
tree3de14fe081743448c49be878d0629d7d5180456e /phpBB/phpbb/install/module/install_database/task
parent164f0e031d6f7fdb29c60cfcc980416685047e45 (diff)
parent37880af03c3e69e49ee6d97adce5203a914fef7f (diff)
downloadforums-de2c70127f61819d1771493016ec2935eadb7e91.tar
forums-de2c70127f61819d1771493016ec2935eadb7e91.tar.gz
forums-de2c70127f61819d1771493016ec2935eadb7e91.tar.bz2
forums-de2c70127f61819d1771493016ec2935eadb7e91.tar.xz
forums-de2c70127f61819d1771493016ec2935eadb7e91.zip
Merge pull request #4265 from Senky/ticket/10809
[ticket/10809] Remove MSSQL support * Senky/ticket/10809: [ticket/10809] Reflect MSSQL removal in docs files [ticket/10809] Remove MSSQL support
Diffstat (limited to 'phpBB/phpbb/install/module/install_database/task')
-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);
}