Revert "MDL-52133 mod_assign: Pass userid param when saving grade"

This reverts commit b2b4f7c4853d1e38e3f6248a98a66afc4b801f48.
This commit is contained in:
Dan Poltawski 2016-03-17 09:31:08 +08:00
parent 94ffadcdcd
commit 6f1cd967b5

View File

@ -6325,8 +6325,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);