diff options
Diffstat (limited to 'includes/update.inc')
-rw-r--r-- | includes/update.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/update.inc b/includes/update.inc index 3574f2d94..794710513 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -36,7 +36,10 @@ function update_check_incompatibility($name, $type = 'module') { // Store values of expensive functions for future use. if (empty($themes) || empty($modules)) { - $themes = _system_rebuild_theme_data(); + // We need to do a full rebuild here to make sure the database reflects any + // code changes that were made in the filesystem before the update script + // was initiated. + $themes = system_rebuild_theme_data(); $modules = system_rebuild_module_data(); } |