diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 945b3bf79fe46..24ebec21885fb 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -2436,5 +2436,15 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2017082800.00); } + if ($oldversion < 2017090700.01) { + + // Force all messages to be reindexed. + set_config('core_message_message_sent_lastindexrun', '0', 'core_search'); + set_config('core_message_message_received_lastindexrun', '0', 'core_search'); + + // Main savepoint reached. + upgrade_main_savepoint(true, 2017090700.01); + } + return true; } diff --git a/version.php b/version.php index 5460083f927e7..803b74a757b8a 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2017090700.00; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2017090700.01; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes.