summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-08-02 19:01:02 +0000
committerDries Buytaert <dries@buytaert.net>2008-08-02 19:01:02 +0000
commit6c1068e48d1d0fcde3afb9b5ecf34df39350acb8 (patch)
tree18608fa197fdba0c0b7a82d6c9cfe66cc51d4c8a /modules/system/system.admin.inc
parent9cec02e4728f27eeb21c43c37633c819d379ddeb (diff)
downloadbrdo-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/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');