diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 067b6d50178..5b4868fdd61 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -2473,8 +2473,7 @@ class assign { $action, $fullurl, $info, - $this->get_course_module()->id, - $USER->id + $this->get_course_module()->id ); if ($return) {