MDL-15758 - remove dependence on 'userid' callback parameter in assignment portfolio...
[moodle.git] / mod / assignment / type / upload / assignment.class.php
index 65686cc..922986b 100644 (file)
@@ -343,7 +343,6 @@ class assignment_upload extends assignment_base {
 
         if ($files = $fs->get_area_files($this->context->id, 'assignment_submission', $userid, "timemodified", false)) {
             $p = array(
-                'userid' => $userid,
                 'assignmentid' => $this->cm->id,
             );
             foreach ($files as $file) {