From 34bc33baeffde5743b5cc83b28b974e36b8cbecd Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 29 Sep 2009 17:00:03 +0000 Subject: #375931 by Dave Reid: Fix SimpleTests when cvs_deploy module is enabled. --- modules/system/system.install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') 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(); -- cgit v1.2.3