Merge branch 'MDL-67758-37' of git://github.com/dpalou/moodle into MOODLE_37_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2020-02-26 17:36:07 +01:00
@@ -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);