From 1f9077ee9263a64eb62cfdb75d7a5233cb86e83c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Jun 2009 16:05:28 +0000 Subject: - Patch #147000 by Berdir: unify and rewrite module_rebuild_cache() and system_theme_data(). --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 35a1ccf46..5f5f9b66e 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -4555,10 +4555,10 @@ function drupal_flush_all_caches() { // If invoked from update.php, we must not update the theme information in the // database, or this will result in all themes being disabled. if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update') { - _system_theme_data(); + _system_get_theme_data(); } else { - system_theme_data(); + system_get_theme_data(); } drupal_theme_rebuild(); -- cgit v1.2.3