mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
assignment MDL-24710 added component and name properties to Event object required by messaging framework.
This commit is contained in:
parent
d3dbcf5b58
commit
192bcd76da
@ -1743,6 +1743,10 @@ class assignment_base {
|
||||
$eventdata->fullmessageformat = FORMAT_PLAIN;
|
||||
$eventdata->fullmessagehtml = $posthtml;
|
||||
$eventdata->smallmessage = '';
|
||||
|
||||
$eventdata->name = 'assignment_submitted';
|
||||
$eventdata->component = 'mod_assignment';
|
||||
|
||||
message_send($eventdata);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user