mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-66090 analytics: Support user for notifications
This commit is contained in:
parent
1c3efe48f8
commit
d3d1615eee
@ -135,7 +135,7 @@ class insights_generator {
|
||||
$message->component = 'moodle';
|
||||
$message->name = 'insights';
|
||||
|
||||
$message->userfrom = \core_user::get_noreply_user();
|
||||
$message->userfrom = \core_user::get_support_user();
|
||||
$message->userto = $user;
|
||||
|
||||
$message->subject = $this->target->get_insight_subject($this->modelid, $context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user