summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index b2af36054..a28f96074 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -290,7 +290,7 @@ function system_themes_form_submit($form, &$form_state) {
list_themes(TRUE);
menu_rebuild();
- drupal_rebuild_theme_registry();
+ drupal_theme_rebuild();
drupal_set_message(t('The configuration options have been saved.'));
$form_state['redirect'] = 'admin/build/themes';
@@ -606,7 +606,7 @@ function _system_is_incompatible(&$incompatible, $files, $file) {
*/
function system_modules($form_state = array()) {
// Clear all caches.
- drupal_rebuild_theme_registry();
+ drupal_theme_rebuild();
node_types_rebuild();
menu_rebuild();
cache_clear_all('schema', 'cache');