From e5bc84f84f9c9263fea74e30296bcaefd1d64c51 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Wed, 28 Dec 2016 10:26:41 +0000 Subject: [PATCH] MDL-57251 upgrade: bump versions and remove uncessary ->mark_dirty() --- lib/db/upgrade.php | 5 ++--- version.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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.