mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
|
@ -72,7 +72,7 @@ class phpunit_util extends testing_util {
|
|||
initialise_cfg();
|
||||
return;
|
||||
}
|
||||
if ($dbhash !== self::get_version_hash()) {
|
||||
if ($dbhash !== core_component::get_all_versions_hash()) {
|
||||
// do not set CFG - the only way forward is to drop and reinstall
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue