Commit 7480e9ac authored by Dries's avatar Dries
Browse files

- Modified patch #27131 by DriesK: removed some cache_clear_all()s.

parent 53195677
......@@ -511,7 +511,6 @@ function system_listing_save($edit = array()) {
variable_set('theme_default', $edit['theme_default']);
}
cache_clear_all();
menu_rebuild();
drupal_set_message(t('The configuration options have been saved.'));
......@@ -553,7 +552,6 @@ function system_settings_save() {
else {
return;
}
cache_clear_all();
menu_rebuild();
drupal_goto($_GET['q']);
}
......
......@@ -511,7 +511,6 @@ function system_listing_save($edit = array()) {
variable_set('theme_default', $edit['theme_default']);
}
cache_clear_all();
menu_rebuild();
drupal_set_message(t('The configuration options have been saved.'));
......@@ -553,7 +552,6 @@ function system_settings_save() {
else {
return;
}
cache_clear_all();
menu_rebuild();
drupal_goto($_GET['q']);
}
......
......@@ -1572,7 +1572,6 @@ function user_admin_perm() {
drupal_set_message(t('The changes have been saved.'));
// Clear the cached pages and menus:
cache_clear_all();
menu_rebuild();
drupal_goto($_GET['q']);
......
......@@ -1572,7 +1572,6 @@ function user_admin_perm() {
drupal_set_message(t('The changes have been saved.'));
// Clear the cached pages and menus:
cache_clear_all();
menu_rebuild();
drupal_goto($_GET['q']);
......
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