summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-06 16:05:28 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-06 16:05:28 +0000
commit1f9077ee9263a64eb62cfdb75d7a5233cb86e83c (patch)
tree951ff40932870affff95e58ae3a2af27b86f1879 /includes/common.inc
parent36e3d552cfe211cba22d1fc8cf0a7f4b13627179 (diff)
downloadbrdo-1f9077ee9263a64eb62cfdb75d7a5233cb86e83c.tar.gz
brdo-1f9077ee9263a64eb62cfdb75d7a5233cb86e83c.tar.bz2
- Patch #147000 by Berdir: unify and rewrite module_rebuild_cache() and system_theme_data().
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
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();