Commit 7cc02cfb authored by Dries's avatar Dries

- Patch #651086 by David_Rothstein, roborn, pwolanin, casey, aspilicious:cache...

- 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).
parent 44a487f2
......@@ -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');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment