summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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();