MDL-41086 rework detection of necessary upgrades

This commit is contained in:
Petr Škoda 2013-08-08 21:11:18 +02:00
parent 166c1d74e3
commit c5701ce7d4
5 changed files with 64 additions and 135 deletions

View file

@ -1594,6 +1594,8 @@ function upgrade_noncore($verbose) {
}
// Update cache definitions. Involves scanning each plugin for any changes.
cache_helper::update_definitions();
// Mark the site as upgraded.
set_config('allversionshash', core_component::get_all_versions_hash());
} catch (Exception $ex) {
upgrade_handle_exception($ex);
}