MDL-68683 competencies: Update previous bad bump update.
authorAdrian Greeve <abgreeve@gmail.com>
Fri, 21 Aug 2020 06:41:09 +0000 (14:41 +0800)
committerAdrian Greeve <abgreeve@gmail.com>
Fri, 21 Aug 2020 06:41:09 +0000 (14:41 +0800)
I made a mistake with the previous version bump and updated the
line below what I should have changed. This fixes it to the
intended version numbers.

lib/db/upgrade.php

index c4a44d8..bb640d4 100644 (file)
@@ -2557,10 +2557,10 @@ function xmldb_main_upgrade($oldversion) {
             $fs->get_file_instance($stalefile)->delete();
         }
 
             $fs->get_file_instance($stalefile)->delete();
         }
 
-        upgrade_main_savepoint(true, 2020081400.02);
+        upgrade_main_savepoint(true, 2020081400.01);
     }
 
     }
 
-    if ($oldversion < 2020081400.01) {
+    if ($oldversion < 2020081400.02) {
 
         // Define field timecreated to be added to task_adhoc.
         $table = new xmldb_table('task_adhoc');
 
         // Define field timecreated to be added to task_adhoc.
         $table = new xmldb_table('task_adhoc');