summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-11 21:05:13 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-11 21:05:13 +0000
commitcc5b8e6aee945408b64bf90f434922fb454cfc4f (patch)
treea1098aafd5c0400cc26000b3fa7a5aef65a55cfa /modules/simpletest
parent33f0b0830baa8d584c8cce180fa2d8a0b94e39fd (diff)
downloadbrdo-cc5b8e6aee945408b64bf90f434922fb454cfc4f.tar.gz
brdo-cc5b8e6aee945408b64bf90f434922fb454cfc4f.tar.bz2
- Patch #688704 by Crell, boombatower, andypost, noahb: give DB its own autoload function.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/simpletest.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/simpletest.pages.inc b/modules/simpletest/simpletest.pages.inc
index 61bfa82f4..72d01e4a9 100644
--- a/modules/simpletest/simpletest.pages.inc
+++ b/modules/simpletest/simpletest.pages.inc
@@ -185,8 +185,8 @@ function simpletest_test_form_submit($form, &$form_state) {
// Get list of tests.
$tests_list = array();
foreach ($form_state['values'] as $class_name => $value) {
- // Since class_exists() will likely trigger an autoload lookup,
- // we do the fast check first.
+ // Since class_exists() will likely trigger an autoload lookup,
+ // we do the fast check first.
if ($value === 1 && class_exists($class_name)) {
$tests_list[] = $class_name;
}