mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-67758 airnotifier: Send wwwroot to airnotifier
This commit is contained in:
parent
cb38ab1e39
commit
f95afbaf48
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user