summaryrefslogtreecommitdiff
path: root/update.php
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 /update.php
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 'update.php')
-rw-r--r--update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.php b/update.php
index a0fb6d924..95ff18d51 100644
--- a/update.php
+++ b/update.php
@@ -499,8 +499,8 @@ function update_check_incompatibility($name, $type = 'module') {
// Store values of expensive functions for future use.
if (empty($themes) || empty($modules)) {
- $themes = _system_theme_data();
- $modules = module_rebuild_cache();
+ $themes = _system_get_theme_data();
+ $modules = system_get_module_data();
}
if ($type == 'module' && isset($modules[$name])) {