summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
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])) {