When events are acting on another users submission, it makes sense to put the submission->userid in the relateduserid field.
The general agreement is we should trigger one event per simple action. This partially resolves MDL-39963.
Signed-off-by: Tony Butler <email@example.com>
…t word limit Signed-off-by: Tony Butler <firstname.lastname@example.org>
The problem is that event->get_user() would be very confusing because it is mostly related user.
…l with an event
…h an event
…_to_log call with an event
…' add_to_log call with an event
…ion status page with an event
…add_to_log call with an event
…_log call with an event