forced upgrade version updated

This commit is contained in:
Petr Skoda 2010-05-06 06:55:59 +00:00
parent 4b1acb3ae8
commit f83b3b13f3

View File

@ -752,7 +752,7 @@ function get_real_size($size=0) {
*/
function redirect_if_major_upgrade_required() {
global $CFG;
$lastmajordbchanges = 2010042303;
$lastmajordbchanges = 2010050404;
if (empty($CFG->version) or (int)$CFG->version < $lastmajordbchanges or
during_initial_install() or !empty($CFG->adminsetuppending)) {
try {