MDL-66090 analytics: Support user for notifications

This commit is contained in:
David Monllaó
2019-09-19 08:00:26 +08:00
parent f1246ad631
commit 51e71e8aa9
+1 -1
View File
@@ -198,7 +198,7 @@ abstract class base extends \core_analytics\calculable {
$message->component = 'moodle';
$message->name = 'insights';
$message->userfrom = \core_user::get_noreply_user();
$message->userfrom = \core_user::get_support_user();
$message->userto = $user;
$insighturl = new \moodle_url('/report/insights/insights.php?modelid=' . $modelid . '&contextid=' . $context->id);