Browse files

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

This reverts commit 99a895b.
  • Loading branch information...
danpoltawski committed Mar 17, 2016
1 parent 38ad80c commit be8769b8416b016bd81b096517e528d39f8f6440
Showing with 0 additions and 2 deletions.
  1. +0 −2 mod/assign/locallib.php
@@ -6270,8 +6270,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 be8769b

Please sign in to comment.