assignment MDL-24710 added component and name properties to Event object required by messaging framework.

This commit is contained in:
Aparup Banerjee 2010-10-19 07:28:42 +00:00
parent d3dbcf5b58
commit 192bcd76da

View File

@ -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);
}
}