mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-41086 rework detection of necessary upgrades
This commit is contained in:
parent
166c1d74e3
commit
c5701ce7d4
5 changed files with 64 additions and 135 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue