Skip to content

Commit

Permalink
MDL-57370 upgrade: fix versions
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Feb 7, 2017
1 parent c1b9c51 commit 7dc6674
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/db/upgrade.php
Expand Up @@ -2465,7 +2465,7 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2016120500.04);
}

if ($oldversion < 2017020200.01) {
if ($oldversion < 2016120500.05) {

// Define index useridfrom_timeuserfromdeleted_notification (not unique) to be added to message.
$table = new xmldb_table('message');
Expand All @@ -2492,10 +2492,10 @@ function xmldb_main_upgrade($oldversion) {
}

// Main savepoint reached.
upgrade_main_savepoint(true, 2017020200.01);
upgrade_main_savepoint(true, 2016120500.05);
}

if ($oldversion < 2017020200.02) {
if ($oldversion < 2016120500.06) {

// Define index useridfrom_timeuserfromdeleted_notification (not unique) to be added to message_read.
$table = new xmldb_table('message_read');
Expand All @@ -2522,7 +2522,7 @@ function xmldb_main_upgrade($oldversion) {
}

// Main savepoint reached.
upgrade_main_savepoint(true, 2017020200.02);
upgrade_main_savepoint(true, 2016120500.06);
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion version.php
Expand Up @@ -29,7 +29,7 @@

defined('MOODLE_INTERNAL') || die();

$version = 2017020200.02; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2016120500.06; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.

Expand Down

0 comments on commit 7dc6674

Please sign in to comment.