From 6c1068e48d1d0fcde3afb9b5ecf34df39350acb8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 2 Aug 2008 19:01:02 +0000 Subject: - Patch #287877 by dmitrig01: rename drupal_rebuild_code_registry() to registry_rebuild() for consistency. --- modules/system/system.admin.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system/system.admin.inc') 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'); -- cgit v1.2.3