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 ++-- modules/system/system.install | 2 +- modules/system/system.module | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules') 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'); diff --git a/modules/system/system.install b/modules/system/system.install index ec85200ae..12410bc3a 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2959,7 +2959,7 @@ function system_update_7006() { db_create_table($ret, 'cache_registry', $schema['cache_registry']); db_create_table($ret, 'registry', $schema['registry']); db_create_table($ret, 'registry_file', $schema['registry_file']); - drupal_rebuild_code_registry(); + registry_rebuild(); return $ret; } diff --git a/modules/system/system.module b/modules/system/system.module index a5b199771..9b79eb9e5 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1224,7 +1224,7 @@ function system_settings_form_submit($form, &$form_state) { } cache_clear_all(); - drupal_rebuild_theme_registry(); + drupal_theme_rebuild(); } /** -- cgit v1.2.3