MDL-46576 core_grades: Update upgrade scripts new version number

This commit is contained in:
Adrian Greeve 2014-10-03 16:59:19 +08:00
parent d75a2367c3
commit 102c1c3671
2 changed files with 9 additions and 9 deletions

View File

@ -3837,7 +3837,7 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2014100100.00);
}
if ($oldversion < 2014082700.00) {
if ($oldversion < 2014100300.01) {
// Define field aggregationstatus to be added to grade_grades.
$table = new xmldb_table('grade_grades');
$field = new xmldb_field('aggregationstatus', XMLDB_TYPE_CHAR, '10', null, XMLDB_NOTNULL, null, 'unknown', 'timemodified');
@ -3871,10 +3871,10 @@ function xmldb_main_upgrade($oldversion) {
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2014091800.01);
upgrade_main_savepoint(true, 2014100300.01);
}
if ($oldversion < 2014092200.00) {
if ($oldversion < 2014100300.02) {
// Define field aggregationcoef2 to be added to grade_items_history.
$table = new xmldb_table('grade_items_history');
@ -3886,10 +3886,10 @@ function xmldb_main_upgrade($oldversion) {
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2014092200.00);
upgrade_main_savepoint(true, 2014100300.02);
}
if ($oldversion < 2014092200.01) {
if ($oldversion < 2014100300.03) {
// Define field weightoverride to be added to grade_items_history.
$table = new xmldb_table('grade_items_history');
@ -3901,9 +3901,9 @@ function xmldb_main_upgrade($oldversion) {
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2014092200.01);
upgrade_main_savepoint(true, 2014100300.03);
}
if ($oldversion < 2014100300.00) {
if ($oldversion < 2014100300.04) {
// Set flags so we can display a notice on all courses that might
// be affected by the uprade to natural aggregation.
if (!get_config('grades_sumofgrades_upgrade_flagged', 'core')) {
@ -3921,7 +3921,7 @@ function xmldb_main_upgrade($oldversion) {
}
// Main savepoint reached.
upgrade_main_savepoint(true, 2014100300.00);
upgrade_main_savepoint(true, 2014100300.04);
}
return true;

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2014100300.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2014100300.04; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.