From 7cc02cfbbcfcadcfa9873272edf54c976de62429 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 Apr 2010 12:53:58 +0000 Subject: - Patch #651086 by David_Rothstein, roborn, pwolanin, casey, aspilicious:cache clearing is an ineffective mess in module_enable() and system_modules_submit() (toolbar present in overlay). --- modules/system/system.admin.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/system/system.admin.inc') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 98691b7d0..e2b79a9e0 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1238,7 +1238,9 @@ function system_modules_submit($form, &$form_state) { // Clear all caches. registry_rebuild(); + system_rebuild_theme_data(); drupal_theme_rebuild(); + cache_clear_all('system_list', 'cache_bootstrap'); node_types_rebuild(); menu_rebuild(); cache_clear_all('schema', 'cache'); -- cgit v1.2.3