Commit 8b9a4cb6 authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

Merge branch 'MDL-65085_master' of git://github.com/dmonllao/moodle

parents 38b9362a ead38829
...@@ -196,7 +196,7 @@ abstract class base extends \core_analytics\calculable { ...@@ -196,7 +196,7 @@ abstract class base extends \core_analytics\calculable {
$message->component = 'moodle'; $message->component = 'moodle';
$message->name = 'insights'; $message->name = 'insights';
$message->userfrom = get_admin(); $message->userfrom = \core_user::get_noreply_user();
$message->userto = $user; $message->userto = $user;
$insighturl = new \moodle_url('/report/insights/insights.php?modelid=' . $modelid . '&contextid=' . $context->id); $insighturl = new \moodle_url('/report/insights/insights.php?modelid=' . $modelid . '&contextid=' . $context->id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment