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

@ -96,6 +96,7 @@ class assign_upgrade_manager {
$data->markingworkflow = 0;
$data->markingallocation = 0;
$data->cutoffdate = 0;
$data->gradingduedate = 0;
// New way to specify no late submissions.
if ($oldassignment->preventlate) {
$data->cutoffdate = $data->duedate;