mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-41945 mod_assign: Properly check if submission is empty
Previous empty submission checks required the submission to be saved to the database. This patch adds a new method to submission plugins that lets them report whether the submission is empty before it is saved.
This commit is contained in:
parent
16b36d376a
commit
c89d23ee6d
8 changed files with 375 additions and 0 deletions
|
@ -3,6 +3,9 @@ This files describes API changes in the assign code.
|
|||
=== 3.2 ===
|
||||
* External function mod_assign_external::get_assignments now returns additional optional fields:
|
||||
- preventsubmissionnotingroup: Prevent submission not in group.
|
||||
* Proper checking for empty submissions
|
||||
* Submission modification time checking - this will help students working in groups not clobber each others'
|
||||
submissions
|
||||
|
||||
=== 3.1 ===
|
||||
* The feedback plugins now need to implement the is_feedback_modified() method. The default is to return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue