aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/db_tools.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2008-01-07 15:19:38 +0000
committerDavid M <davidmj@users.sourceforge.net>2008-01-07 15:19:38 +0000
commit2928574ed46334bb8dbbb6612a62db3c3654ba12 (patch)
treec010569c70e52dbda45dd835a613977fb30f9dc8 /phpBB/includes/db/db_tools.php
parent159ce6f8d1bddbe7afc055f70cab3107b9c74a5f (diff)
downloadforums-2928574ed46334bb8dbbb6612a62db3c3654ba12.tar
forums-2928574ed46334bb8dbbb6612a62db3c3654ba12.tar.gz
forums-2928574ed46334bb8dbbb6612a62db3c3654ba12.tar.bz2
forums-2928574ed46334bb8dbbb6612a62db3c3654ba12.tar.xz
forums-2928574ed46334bb8dbbb6612a62db3c3654ba12.zip
- a few tiny clean ups
- a new MS SQL DBAL, it does not work so hot because of issues with the extension it depends on git-svn-id: file:///svn/phpbb/trunk@8313 89ea8834-ac86-4346-8a33-228a782c2dd0
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;
}
/**