Browse Source

Fix previous version check - whoops.

MOODLE_23_STABLE
Dan Marsden 12 years ago
parent
commit
22ffe58b24
  1. 2
      locallib.php
  2. 2
      version.php

2
locallib.php

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

2
version.php

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$module->version = 2013070401; $module->version = 2013070402;
$module->requires = 2012120300; $module->requires = 2012120300;
$module->release = '2.4.1'; $module->release = '2.4.1';
$module->maturity = MATURITY_ALPHA; $module->maturity = MATURITY_ALPHA;

Loading…
Cancel
Save