aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_forums.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_forums.php')
-rw-r--r--phpBB/includes/acp/acp_forums.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php
index faf3b7b296..6338559cfc 100644
--- a/phpBB/includes/acp/acp_forums.php
+++ b/phpBB/includes/acp/acp_forums.php
@@ -1647,10 +1647,9 @@ class acp_forums
}
$db->sql_freeresult($result);
- switch ($db->sql_layer)
+ if ($db->dbms_type)
{
case 'mysql':
- case 'mysqli':
// Delete everything else and thank MySQL for offering multi-table deletion
$tables_ary = array(