Browse Source

Run upgrade for new absenteereport and autoassignstatus fields again.

MOODLE_33_STABLE
Dan Marsden 7 years ago
parent
commit
ae7dd6f8d4
  1. 8
      db/upgrade.php
  2. 2
      version.php

8
db/upgrade.php

@ -441,7 +441,7 @@ function xmldb_attendance_upgrade($oldversion=0) {
upgrade_mod_savepoint(true, 2017050216, 'attendance');
}
if ($oldversion < 2017050219) {
if ($oldversion < 2017050222) {
$table = new xmldb_table('attendance_sessions');
$field = new xmldb_field('absenteereport');
@ -450,10 +450,10 @@ function xmldb_attendance_upgrade($oldversion=0) {
$dbman->add_field($table, $field);
}
upgrade_mod_savepoint(true, 2017050219, 'attendance');
upgrade_mod_savepoint(true, 2017050222, 'attendance');
}
if ($oldversion < 2017050220) {
if ($oldversion < 2017050223) {
$table = new xmldb_table('attendance_sessions');
$field = new xmldb_field('autoassignstatus');
@ -462,7 +462,7 @@ function xmldb_attendance_upgrade($oldversion=0) {
$dbman->add_field($table, $field);
}
upgrade_mod_savepoint(true, 2017050220, 'attendance');
upgrade_mod_savepoint(true, 2017050223, 'attendance');
}
return $result;

2
version.php

@ -23,7 +23,7 @@
*/
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2017050221;
$plugin->version = 2017050223;
$plugin->requires = 2017042100;
$plugin->release = '3.3.13';
$plugin->maturity = MATURITY_STABLE;

Loading…
Cancel
Save