MDL-4782 install: add major db change version

This commit is contained in:
Marina Glancy 2017-02-16 09:28:29 +08:00
parent c181f152d7
commit 024d120ffc

View File

@ -1395,7 +1395,7 @@ function disable_output_buffering() {
*/
function redirect_if_major_upgrade_required() {
global $CFG;
$lastmajordbchanges = 2016112200.03;
$lastmajordbchanges = 2017021400.00;
if (empty($CFG->version) or (float)$CFG->version < $lastmajordbchanges or
during_initial_install() or !empty($CFG->adminsetuppending)) {
try {