diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index d7bf3e8b009..e219b486c3a 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -2436,7 +2436,7 @@ function xmldb_main_upgrade($oldversion) { // Automatically generated Moodle v3.2.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2016120500.03) { + if ($oldversion < 2016120500.04) { // Find all roles with the coursecreator archetype. $coursecreatorroleids = $DB->get_records('role', array('archetype' => 'coursecreator'), '', 'id'); @@ -2460,10 +2460,9 @@ function xmldb_main_upgrade($oldversion) { $DB->insert_record('role_capabilities', $cap); } } - $context->mark_dirty(); // Main savepoint reached. - upgrade_main_savepoint(true, 2016120500.03); + upgrade_main_savepoint(true, 2016120500.04); } return true; diff --git a/version.php b/version.php index 19ac795e519..c4315d37462 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2016120500.03; // 20161205 = branching date YYYYMMDD - do not modify! +$version = 2016120500.04; // 20161205 = branching date YYYYMMDD - do not modify! // RR = release increments - 00 in DEV branches. // .XX = incremental changes.