MDL-46576 core_grades: Update upgrade scripts new version number
authorAdrian Greeve <adrian@moodle.com>
Fri, 3 Oct 2014 08:59:19 +0000 (16:59 +0800)
committerAdrian Greeve <adrian@moodle.com>
Fri, 3 Oct 2014 09:06:42 +0000 (17:06 +0800)
lib/db/upgrade.php
version.php

index 48e5b15..acb5fbf 100644 (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;
index d4cc4ae..702dc26 100644 (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.