summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-23 01:04:10 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-23 01:04:10 +0000
commit08386dac6dab46326314924e15b04829bab4916a (patch)
tree2a5644888da72ee8dde7ad0219af7956e957bdeb
parentcbd7938955e8efefc6cd0bd97f9bd6b99f7bd831 (diff)
downloadbrdo-08386dac6dab46326314924e15b04829bab4916a.tar.gz
brdo-08386dac6dab46326314924e15b04829bab4916a.tar.bz2
- Patch #611990 by c960657: the “Clean environment” button did not flush all caches.
-rw-r--r--modules/simpletest/simpletest.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 5a6cd411e..91a1cd61a 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -406,6 +406,10 @@ function simpletest_clean_environment() {
else {
drupal_set_message(t('Clear results is disabled and the test results table will not be cleared.'), 'warning');
}
+
+ // Detect test classes that have been added, renamed or deleted.
+ registry_rebuild();
+ cache_clear_all('simpletest', 'cache');
}
/**