From 927d8cef30eb2ce701473c15a46f8dfc29446692 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 14 Mar 2018 09:52:26 +1300 Subject: [PATCH] Fix fields included in backup. --- backup/moodle2/backup_attendance_stepslib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backup/moodle2/backup_attendance_stepslib.php b/backup/moodle2/backup_attendance_stepslib.php index 275903b..bf89644 100644 --- a/backup/moodle2/backup_attendance_stepslib.php +++ b/backup/moodle2/backup_attendance_stepslib.php @@ -44,7 +44,7 @@ class backup_attendance_activity_structure_step extends backup_activity_structur // XML nodes declaration - non-user data. $attendance = new backup_nested_element('attendance', array('id'), array( - 'name', 'grade')); + 'name', 'intro', 'introformat', 'grade')); $statuses = new backup_nested_element('statuses'); $status = new backup_nested_element('status', array('id'), array( @@ -53,7 +53,8 @@ class backup_attendance_activity_structure_step extends backup_activity_structur $sessions = new backup_nested_element('sessions'); $session = new backup_nested_element('session', array('id'), array( 'groupid', 'sessdate', 'duration', 'lasttaken', 'lasttakenby', - 'timemodified', 'description', 'descriptionformat', 'caleventid')); + 'timemodified', 'description', 'descriptionformat', 'studentscanmark', + 'statusset', 'caleventid')); // XML nodes declaration - user data. $logs = new backup_nested_element('logs');