diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-08-02 19:01:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-08-02 19:01:02 +0000 |
commit | 6c1068e48d1d0fcde3afb9b5ecf34df39350acb8 (patch) | |
tree | 18608fa197fdba0c0b7a82d6c9cfe66cc51d4c8a /modules | |
parent | 9cec02e4728f27eeb21c43c37633c819d379ddeb (diff) | |
download | brdo-6c1068e48d1d0fcde3afb9b5ecf34df39350acb8.tar.gz brdo-6c1068e48d1d0fcde3afb9b5ecf34df39350acb8.tar.bz2 |
- Patch #287877 by dmitrig01: rename drupal_rebuild_code_registry() to registry_rebuild() for consistency.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.admin.inc | 4 | ||||
-rw-r--r-- | modules/system/system.install | 2 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
3 files changed, 4 insertions, 4 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'); 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(); } /** |