Commit 670e8357 authored by Steven Wittens's avatar Steven Wittens
Browse files

- Menu wasn't being wiped after enabling/disabling themes

parent 15b50045
...@@ -840,6 +840,7 @@ function system_themes_execute($form_id, $values) { ...@@ -840,6 +840,7 @@ function system_themes_execute($form_id, $values) {
variable_del('theme_default'); variable_del('theme_default');
} }
menu_rebuild();
drupal_set_message(t('The configuration options have been saved.')); drupal_set_message(t('The configuration options have been saved.'));
drupal_goto('admin/themes'); drupal_goto('admin/themes');
} }
......
...@@ -840,6 +840,7 @@ function system_themes_execute($form_id, $values) { ...@@ -840,6 +840,7 @@ function system_themes_execute($form_id, $values) {
variable_del('theme_default'); variable_del('theme_default');
} }
menu_rebuild();
drupal_set_message(t('The configuration options have been saved.')); drupal_set_message(t('The configuration options have been saved.'));
drupal_goto('admin/themes'); drupal_goto('admin/themes');
} }
......
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