MDL-24419: redirect_if_major_upgrade_required version update
authorDan Poltawski <dan@moodle.com>
Thu, 17 May 2012 03:57:12 +0000 (11:57 +0800)
committerDan Poltawski <dan@moodle.com>
Thu, 17 May 2012 03:57:12 +0000 (11:57 +0800)
The conditional topics changes need users to go to /admin/index.php

lib/setuplib.php
version.php

index 97ae95e..2c471f6 100644 (file)
@@ -1097,7 +1097,7 @@ function disable_output_buffering() {
  */
 function redirect_if_major_upgrade_required() {
     global $CFG;
  */
 function redirect_if_major_upgrade_required() {
     global $CFG;
-    $lastmajordbchanges = 2010111700;
+    $lastmajordbchanges = 2012051700;
     if (empty($CFG->version) or (int)$CFG->version < $lastmajordbchanges or
             during_initial_install() or !empty($CFG->adminsetuppending)) {
         try {
     if (empty($CFG->version) or (int)$CFG->version < $lastmajordbchanges or
             during_initial_install() or !empty($CFG->adminsetuppending)) {
         try {
index 67d54d6..e52327f 100644 (file)
@@ -30,7 +30,7 @@
 defined('MOODLE_INTERNAL') || die();
 
 
 defined('MOODLE_INTERNAL') || die();
 
 
-$version  = 2012051100.03;              // YYYYMMDD      = weekly release date of this DEV branch
+$version  = 2012051700.00;              // YYYYMMDD      = weekly release date of this DEV branch
                                         //         RR    = release increments - 00 in DEV branches
                                         //           .XX = incremental changes
 
                                         //         RR    = release increments - 00 in DEV branches
                                         //           .XX = incremental changes