Browse Source

relax upgrade restriction and allow any version higher than 2011061800

MOODLE_23_STABLE
Dan Marsden 12 years ago
parent
commit
408fec1f8f
  1. 2
      locallib.php

2
locallib.php

@ -1388,7 +1388,7 @@ function att_log_convert_url(moodle_url $fullurl) {
function attforblock_upgrade() {
global $DB, $CFG;
$module = $DB->get_record('modules', array('name' => 'attforblock'));
if ($module->version !== '2012120700') {
if ($module->version > '2011061800') {
print_error("noupgradefromthisversion", 'attendance');
}
if (file_exists($CFG->dirroot.'/mod/attforblock')) {

Loading…
Cancel
Save