mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-47162 core_message: Add course id to message eventdata
This commit is contained in:
parent
577bd70d38
commit
cc350fd9c8
34 changed files with 345 additions and 76 deletions
|
@ -1109,7 +1109,7 @@ function portfolio_insane_notify_admins($insane, $instances=false) {
|
|||
$smallbody = get_string('insanebodysmall', 'portfolio', $a);
|
||||
|
||||
foreach ($admins as $admin) {
|
||||
$eventdata = new stdClass();
|
||||
$eventdata = new \core\message\message();
|
||||
$eventdata->modulename = 'portfolio';
|
||||
$eventdata->component = 'portfolio';
|
||||
$eventdata->name = 'notices';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue