Permalink
Browse files

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

This reverts commit 9ba2218.
  • Loading branch information...
danpoltawski committed Mar 17, 2016
1 parent c0ed242 commit ea26ec7524bb5f0def53424957bd9905c3c5e0f8
Showing with 0 additions and 2 deletions.
  1. +0 −2 mod/assign/locallib.php
View
@@ -6245,8 +6245,6 @@ public function add_grade_form_elements(MoodleQuickForm $mform, stdClass $data,
// 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);

0 comments on commit ea26ec7

Please sign in to comment.