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

@ -635,6 +635,7 @@ class assign {
}
$update->duedate = $formdata->duedate;
$update->cutoffdate = $formdata->cutoffdate;
$update->gradingduedate = $formdata->gradingduedate;
$update->allowsubmissionsfromdate = $formdata->allowsubmissionsfromdate;
$update->grade = $formdata->grade;
$update->completionsubmit = !empty($formdata->completionsubmit);
@ -1244,6 +1245,7 @@ class assign {
}
$update->duedate = $formdata->duedate;
$update->cutoffdate = $formdata->cutoffdate;
$update->gradingduedate = $formdata->gradingduedate;
$update->allowsubmissionsfromdate = $formdata->allowsubmissionsfromdate;
$update->grade = $formdata->grade;
if (!empty($formdata->completionunlocked)) {