diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 45eb0061019..cc56dea8a6b 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -6270,8 +6270,6 @@ class assign { // Hidden params. $mform->addElement('hidden', 'id', $this->get_course_module()->id); $mform->setType('id', PARAM_INT); - $mform->addElement('hidden', 'userid', $userid); - $mform->setType('userid', PARAM_INT); $mform->addElement('hidden', 'rownum', $rownum); $mform->setType('rownum', PARAM_INT); $mform->setConstant('rownum', $rownum);