MDL-57938 mod_assign: added new 'gradingduedate' setting

Part of MDL-55611 epic.
This commit is contained in:
Mark Nelson 2017-02-13 15:58:06 +08:00 committed by Damyon Wiese
parent 410f2fb30d
commit 3e1c027532
13 changed files with 44 additions and 1 deletions

View file

@ -74,6 +74,7 @@ class backup_assign_activity_structure_step extends backup_activity_structure_st
'sendstudentnotifications',
'duedate',
'cutoffdate',
'gradingduedate',
'allowsubmissionsfromdate',
'grade',
'timemodified',

View file

@ -113,6 +113,9 @@ class restore_assign_activity_structure_step extends restore_activity_structure_
if (!isset($data->cutoffdate)) {
$data->cutoffdate = 0;
}
if (!isset($data->gradingduedate)) {
$data->gradingduedate = 0;
}
if (!isset($data->markingworkflow)) {
$data->markingworkflow = 0;
}