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

@ -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;
}