summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/database.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/database.inc b/includes/database.inc
index aec692e5e..a7943a1f3 100644
--- a/includes/database.inc
+++ b/includes/database.inc
@@ -29,8 +29,7 @@ function db_prefix_tables($sql) {
* @param $name The named connection specified in the $db_url variable.
*/
function db_set_active($name = 'default') {
- global $db_url;
- global $active_db;
+ global $db_url, $db_type, $active_db;
static $db_conns;
if (!isset($db_conns[$name])) {