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.
This commit is contained in:
Damyon Wiese
2014-02-20 12:30:37 +08:00
parent d306807e02
commit 666abe6ecb
+1 -2
View File
@@ -2528,8 +2528,7 @@ class assign {
$action,
$fullurl,
$info,
$this->get_course_module()->id,
$USER->id
$this->get_course_module()->id
);
if ($return) {