summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 9e0939b25..82cc352d1 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) {
else {
drupal_set_message(t('The configuration options have been saved.'));
}
- if ($form_id == 'system_settings_form') {
- menu_rebuild();
- }
+ menu_rebuild();
drupal_goto($_GET['q']);
}