From 666abe6ecb4bc3e1621459ea29e1a2aa966e33fc Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Thu, 20 Feb 2014 12:30:37 +0800 Subject: [PATCH] MDL-43930 assign: Do not log when user is logged in as someone else. I do not agree with this behaviour - but this makes it consistent with other modules. --- mod/assign/locallib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 4749454857b..c4e555ec144 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -2528,8 +2528,7 @@ class assign { $action, $fullurl, $info, - $this->get_course_module()->id, - $USER->id + $this->get_course_module()->id ); if ($return) {