aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/db_tools.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db/db_tools.php')
-rw-r--r--phpBB/includes/db/db_tools.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php
index f02ec96a9f..e90e84f348 100644
--- a/phpBB/includes/db/db_tools.php
+++ b/phpBB/includes/db/db_tools.php
@@ -254,21 +254,7 @@ class phpbb_db_tools
{
$this->db = $db;
- // Determine mapping database type
- switch ($this->db->sql_layer)
- {
- case 'mysqli':
- $this->sql_layer = 'mysql';
- break;
-
- case 'mssql_odbc':
- $this->sql_layer = 'mssql';
- break;
-
- default:
- $this->sql_layer = $this->db->sql_layer;
- break;
- }
+ $this->sql_layer = $this->db->dbms_type;
}
/**