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:
@@ -2528,8 +2528,7 @@ class assign {
|
||||
$action,
|
||||
$fullurl,
|
||||
$info,
|
||||
$this->get_course_module()->id,
|
||||
$USER->id
|
||||
$this->get_course_module()->id
|
||||
);
|
||||
|
||||
if ($return) {
|
||||
|
||||
Reference in New Issue
Block a user