Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94ffadc
)
Revert "MDL-52133 mod_assign: Pass userid param when saving grade"
author
Dan Poltawski
<dan@moodle.com>
Thu, 17 Mar 2016 01:31:08 +0000
(09:31 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 17 Mar 2016 01:31:08 +0000
(09:31 +0800)
This reverts commit
b2b4f7c4853d1e38e3f6248a98a66afc4b801f48
.
mod/assign/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assign/locallib.php
b/mod/assign/locallib.php
index
6c81714
..
ad93008
100644
(file)
--- a/
mod/assign/locallib.php
+++ b/
mod/assign/locallib.php
@@
-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);