mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 07:39:54 +02:00
MDL-32746 libraries: Upgrade redirect for major version
Due to the newly introduced event user_loggedin, the upgrade could not be reached as the event class was not found during login. To remedy this, we need to force the upgrade before login.
This commit is contained in:
parent
c59a65b273
commit
a60bc9a35b
2 changed files with 2 additions and 2 deletions
|
@ -1165,7 +1165,7 @@ function disable_output_buffering() {
|
|||
*/
|
||||
function redirect_if_major_upgrade_required() {
|
||||
global $CFG;
|
||||
$lastmajordbchanges = 2013071600.00;
|
||||
$lastmajordbchanges = 2013072400.00;
|
||||
if (empty($CFG->version) or (float)$CFG->version < $lastmajordbchanges or
|
||||
during_initial_install() or !empty($CFG->adminsetuppending)) {
|
||||
try {
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2013072300.00; // YYYYMMDD = weekly release date of this DEV branch
|
||||
$version = 2013072400.00; // YYYYMMDD = weekly release date of this DEV branch
|
||||
// RR = release increments - 00 in DEV branches
|
||||
// .XX = incremental changes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue