There were two typos here. The first one ($cm->userid) led to incorrect
groups list. But the second one ($interset) caused that the intersection
of the group lists was never used. I just spotted this during copy &
pasting into workshop 2.0
Also fixed the heading size to what other modules use.
Merged from 1.9
- response files uploading now uses the new file manager element in advanced upload type. (@TODO: single upload->use file picker)
- fixed file manager using $USER->id, now using the submission->userid to display the file area files.
We are doing it this way because MULTIPLE plagiarism **plugins** may need to handle these events using cron, so it's good to get them in a queue.
The other way to do this would be to call a function in plagiarism core and have that generate the event, but there is not really any advantage in that. Conceivably something other than plagiarism plugins might be interested in these events later on.