mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-57938 mod_assign: added new 'gradingduedate' setting
Part of MDL-55611 epic.
This commit is contained in:
parent
410f2fb30d
commit
3e1c027532
13 changed files with 44 additions and 1 deletions
|
@ -74,6 +74,7 @@ class backup_assign_activity_structure_step extends backup_activity_structure_st
|
|||
'sendstudentnotifications',
|
||||
'duedate',
|
||||
'cutoffdate',
|
||||
'gradingduedate',
|
||||
'allowsubmissionsfromdate',
|
||||
'grade',
|
||||
'timemodified',
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue