From cfbc6b93db69d1d50ac46233272abbb95fa45a67 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. Conflicts: mod/assign/locallib.php --- 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 cceb2d415b7..bc492c8d1e4 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -2399,8 +2399,7 @@ class assign { $action, $fullurl, $info, - $this->get_course_module()->id, - $USER->id); + $this->get_course_module()->id); } /**