MDL-29795 assign: Apply overrides before saving a submission

From the webservice.
This commit is contained in:
Damyon Wiese 2016-10-23 21:19:15 +08:00 committed by Juan Leyva
parent d685b95935
commit 6b8e798db1

View File

@ -1788,6 +1788,7 @@ class mod_assign_external extends external_api {
$notices = array();
$assign->update_effective_access($USER->id);
if (!$assignment->submissions_open($USER->id)) {
$notices[] = get_string('duedatereached', 'assign');
} else {