adding new forced upgrade version

This commit is contained in:
Petr Skoda 2010-04-23 10:36:56 +00:00
parent 836c47d7fe
commit b81e18f889

View File

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