From 408fec1f8f17ae962ac0329149724bf42d6144fc Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 8 Jul 2013 11:37:10 +1200 Subject: [PATCH] relax upgrade restriction and allow any version higher than 2011061800 --- locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locallib.php b/locallib.php index 92191ed..d8eb94d 100644 --- a/locallib.php +++ b/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')) {