MDL-40638 - Administration: Update of version number to avoid alternate name fields breaking before upgrade.

With the alteration of the user table to include the new alternate name fields anyone
upgrading from one version to another will receive errors until they run the upgrade.
Forcing a redirect if major version upgrade will bypass this issue.
This commit is contained in:
Adrian Greeve
2013-07-15 15:49:26 +08:00
parent 07bbbcf174
commit 7809d1557c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1165,7 +1165,7 @@ function disable_output_buffering() {
*/
function redirect_if_major_upgrade_required() {
global $CFG;
$lastmajordbchanges = 2013070400.00;
$lastmajordbchanges = 2013071200.01;
if (empty($CFG->version) or (float)$CFG->version < $lastmajordbchanges or
during_initial_install() or !empty($CFG->adminsetuppending)) {
try {
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2013071200.00; // YYYYMMDD = weekly release date of this DEV branch
$version = 2013071200.01; // YYYYMMDD = weekly release date of this DEV branch
// RR = release increments - 00 in DEV branches
// .XX = incremental changes