MDL-22456 Fixed versions for recent upgrade

This commit is contained in:
Martin Dougiamas 2010-05-28 05:40:19 +00:00
parent b4c0739547
commit cde82a41b2
2 changed files with 3 additions and 3 deletions

View File

@ -4157,11 +4157,11 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
upgrade_main_savepoint($result, 2010052700);
}
if ($result && $oldversion < 2010052600) {
if ($result && $oldversion < 2010052800) {
/// Changes to modinfo mean we need to rebuild course cache
require_once($CFG->dirroot . '/course/lib.php');
rebuild_course_cache(0, true);
upgrade_main_savepoint($result, 2010052600);
upgrade_main_savepoint($result, 2010052800);
}
return $result;

View File

@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2010052700; // YYYYMMDD = date of the last version bump
$version = 2010052800; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 Preview 2 (Build: 20100528)'; // Human-friendly version name