summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-01-25 12:19:32 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-01-25 12:19:32 +0000
commit250e486bb042fd44c6a6661009861b3edf680766 (patch)
tree931183a342e9efadbbbf9e8d7c82cbd727987d02 /modules/simpletest/simpletest.module
parentcf43ce126cf69bc08b10044c6f59a3e7768c72b2 (diff)
downloadbrdo-250e486bb042fd44c6a6661009861b3edf680766.tar.gz
brdo-250e486bb042fd44c6a6661009861b3edf680766.tar.bz2
#363687 by chx: Simplify DBTNG codeflow.
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 4054696c4..39c08fecb 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -522,7 +522,7 @@ function simpletest_clean_environment() {
* Removed prefixed tables from the database that are left over from crashed tests.
*/
function simpletest_clean_database() {
- $tables = db_find_tables(Database::getActiveConnection()->prefixTables('{simpletest}') . '%');
+ $tables = db_find_tables(Database::getConnection()->prefixTables('{simpletest}') . '%');
$schema = drupal_get_schema_unprocessed('simpletest');
$ret = array();
foreach (array_diff_key($tables, $schema) as $table) {