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) {