Skip to content

Commit

Permalink
MDL-46576 core_grades: Update upgrade scripts new version number
Browse files Browse the repository at this point in the history
  • Loading branch information
abgreeve committed Oct 3, 2014
1 parent d75a236 commit 102c1c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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');
Expand All @@ -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');
Expand All @@ -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')) {
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 102c1c3

Please sign in to comment.