summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-29 17:00:03 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-29 17:00:03 +0000
commit34bc33baeffde5743b5cc83b28b974e36b8cbecd (patch)
tree97d31b2db5ddf002b87239fa2da4fc4e86856023 /modules
parentae84c08eaa48c209d98b7a9e1e7bd8467171ccf9 (diff)
downloadbrdo-34bc33baeffde5743b5cc83b28b974e36b8cbecd.tar.gz
brdo-34bc33baeffde5743b5cc83b28b974e36b8cbecd.tar.bz2
#375931 by Dave Reid: Fix SimpleTests when cvs_deploy module is enabled.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index f49788a2f..2acc05d5a 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -332,6 +332,11 @@ function system_install() {
drupal_set_installed_schema_version($module, $version);
}
+ // Clear out module list and hook implementation statics before calling
+ // system_get_theme_data().
+ module_list(TRUE);
+ module_implements('', FALSE, TRUE);
+
// Load system theme data appropriately.
system_get_theme_data();