mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 16:40:07 +01:00
MDL-29795 assign: Apply overrides before saving a submission
From the webservice.
This commit is contained in:
parent
d685b95935
commit
6b8e798db1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user