Merge branch 'MDL-61714-master' of git://github.com/sarjona/moodle
authorDavid Monllao <davidm@moodle.com>
Thu, 10 May 2018 16:10:29 +0000 (18:10 +0200)
committerDavid Monllao <davidm@moodle.com>
Thu, 10 May 2018 16:10:29 +0000 (18:10 +0200)
1  2 
lib/db/upgrade.php
version.php

diff --combined lib/db/upgrade.php
@@@ -2216,5 -2216,20 +2216,20 @@@ 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',
+             'AT, 14',
+             'ES, 14',
+             'SI, 14',
+             'US, 13'
+         ]);
+         set_config('agedigitalconsentmap', $ageofdigitalconsentmap);
+         // Main savepoint reached.
 -        upgrade_main_savepoint(true, 2018050800.02);
++        upgrade_main_savepoint(true, 2018050900.01);
+     }
      return true;
  }
diff --combined version.php
@@@ -29,7 -29,7 +29,7 @@@
  
  defined('MOODLE_INTERNAL') || die();
  
- $version  = 2018050900.00;              // YYYYMMDD      = weekly release date of this DEV branch.
 -$version  = 2018050800.02;              // YYYYMMDD      = weekly release date of this DEV branch.
++$version  = 2018050900.01;              // YYYYMMDD      = weekly release date of this DEV branch.
                                          //         RR    = release increments - 00 in DEV branches.
                                          //           .XX = incremental changes.