Merge branch 'MDL-67758-37' of git://github.com/dpalou/moodle into MOODLE_37_STABLE
This commit is contained in:
@@ -102,6 +102,9 @@ class message_output_airnotifier extends message_output {
|
||||
$extra->fullmessagehtml = clean_param($extra->fullmessagehtml, PARAM_NOTAGS);
|
||||
}
|
||||
|
||||
// Send wwwroot to airnotifier.
|
||||
$extra->wwwroot = $CFG->wwwroot;
|
||||
|
||||
// We are sending to message to all devices.
|
||||
$airnotifiermanager = new message_airnotifier_manager();
|
||||
$devicetokens = $airnotifiermanager->get_user_devices($CFG->airnotifiermobileappname, $eventdata->userto->id);
|
||||
|
||||
Reference in New Issue
Block a user