Merge branch 'MDL-61714-master' of git://github.com/sarjona/moodle
[moodle.git] / lib / db / upgrade.php
index 79c133c..55b0a23 100644 (file)
@@ -2216,7 +2216,7 @@ function xmldb_main_upgrade($oldversion) {
         upgrade_main_savepoint(true, 2018040500.01);
     }
 
-    if ($oldversion < 2018050800.02) {
+    if ($oldversion < 2018050900.01) {
         // Update default digital age consent map according to the current legislation on each country.
         $ageofdigitalconsentmap = implode(PHP_EOL, [
             '*, 16',
@@ -2227,7 +2227,7 @@ function xmldb_main_upgrade($oldversion) {
         set_config('agedigitalconsentmap', $ageofdigitalconsentmap);
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2018050800.02);
+        upgrade_main_savepoint(true, 2018050900.01);
     }
 
     return true;