mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-45086 lib: force upgrade
The availability changes change the course query for front page.
This commit is contained in:
parent
c675899425
commit
78b00793e8
@ -1261,7 +1261,7 @@ function disable_output_buffering() {
|
||||
*/
|
||||
function redirect_if_major_upgrade_required() {
|
||||
global $CFG;
|
||||
$lastmajordbchanges = 2014040408.00;
|
||||
$lastmajordbchanges = 2014040800.00;
|
||||
if (empty($CFG->version) or (float)$CFG->version < $lastmajordbchanges or
|
||||
during_initial_install() or !empty($CFG->adminsetuppending)) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user