MDL-66090 analytics: Support user for notifications

This commit is contained in:
David Monllaó 2019-08-20 13:13:57 +08:00
parent 1c3efe48f8
commit d3d1615eee

View File

@ -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);