Permalink
Browse files

MDL-57251 upgrade: bump versions

and remove uncessary ->mark_dirty()
  • Loading branch information...
danpoltawski committed Dec 28, 2016
1 parent a38d065 commit e5bc84f84f9c9263fea74e30296bcaefd1d64c51
Showing with 3 additions and 4 deletions.
  1. +2 −3 lib/db/upgrade.php
  2. +1 −1 version.php
View
@@ -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;
View
@@ -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.

0 comments on commit e5bc84f

Please sign in to comment.