From ae7dd6f8d4fe45f94d30763f64e2a1000fa12b0b Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 5 Feb 2018 09:12:18 +1300 Subject: [PATCH] Run upgrade for new absenteereport and autoassignstatus fields again. --- db/upgrade.php | 8 ++++---- version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/upgrade.php b/db/upgrade.php index 9ba51a1..35162a5 100644 --- a/db/upgrade.php +++ b/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; diff --git a/version.php b/version.php index 1cf3d1a..9fa8abd 100644 --- a/version.php +++ b/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;