Commit eb2bed28 authored by Dries's avatar Dries
Browse files

- Patch #46123 by markus: rebuild the menu after chaning settings.

parent a0382018
...@@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) { ...@@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) {
else { else {
drupal_set_message(t('The configuration options have been saved.')); drupal_set_message(t('The configuration options have been saved.'));
} }
if ($form_id == 'system_settings_form') { menu_rebuild();
menu_rebuild();
}
drupal_goto($_GET['q']); drupal_goto($_GET['q']);
} }
......
...@@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) { ...@@ -786,9 +786,7 @@ function system_settings_form_submit($form_id, $values) {
else { else {
drupal_set_message(t('The configuration options have been saved.')); drupal_set_message(t('The configuration options have been saved.'));
} }
if ($form_id == 'system_settings_form') { menu_rebuild();
menu_rebuild();
}
drupal_goto($_GET['q']); 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