Merge branch 'wip-MDL-55652-master' of git://github.com/marinaglancy/moodle
[moodle.git] / lib / db / upgrade.php
index 204a8eb..ad75b0c 100644 (file)
@@ -2601,7 +2601,7 @@ function xmldb_main_upgrade($oldversion) {
         upgrade_main_savepoint(true, 2017092900.00);
     }
 
-    if ($oldversion < 2017092901.00) {
+    if ($oldversion < 2017100900.00) {
         // Add index on time modified to grade_outcomes_history, grade_categories_history,
         // grade_items_history, and scale_history.
         $table = new xmldb_table('grade_outcomes_history');
@@ -2633,7 +2633,7 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2017092901.00);
+        upgrade_main_savepoint(true, 2017100900.00);
     }
 
     return true;