diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-02 12:53:58 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-02 12:53:58 +0000 |
commit | 7cc02cfbbcfcadcfa9873272edf54c976de62429 (patch) | |
tree | 168a38727a67d552e44557e0544d1a7f57e352ed /modules/system/system.admin.inc | |
parent | 44a487f2c6fa50f7d46e9791e5d33de3a06fbc2c (diff) | |
download | brdo-7cc02cfbbcfcadcfa9873272edf54c976de62429.tar.gz brdo-7cc02cfbbcfcadcfa9873272edf54c976de62429.tar.bz2 |
- 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).
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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'); |