diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-25 12:19:32 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-01-25 12:19:32 +0000 |
commit | 250e486bb042fd44c6a6661009861b3edf680766 (patch) | |
tree | 931183a342e9efadbbbf9e8d7c82cbd727987d02 /includes/bootstrap.inc | |
parent | cf43ce126cf69bc08b10044c6f59a3e7768c72b2 (diff) | |
download | brdo-250e486bb042fd44c6a6661009861b3edf680766.tar.gz brdo-250e486bb042fd44c6a6661009861b3edf680766.tar.bz2 |
#363687 by chx: Simplify DBTNG codeflow.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r-- | includes/bootstrap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 97e7ee9c8..ba27a5f7c 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1579,7 +1579,7 @@ function _registry_check_code($type, $name = NULL) { // This function may get called when the default database is not active, but // there is no reason we'd ever want to not use the default database for // this query. - $file = Database::getConnection('default')->query("SELECT filename FROM {registry} WHERE name = :name AND type = :type", array( + $file = Database::getConnection('default', 'default')->query("SELECT filename FROM {registry} WHERE name = :name AND type = :type", array( ':name' => $name, ':type' => $type, )) |