MDL-57251 upgrade: bump versions

and remove uncessary ->mark_dirty()
This commit is contained in:
Dan Poltawski
2016-12-28 10:28:37 +00:00
parent a38d0650d4
commit e5bc84f84f
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -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;
+1 -1
View File
@@ -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.