Skip to content

Commit

Permalink
MDL-27934 Upload Assignment - Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
sunner authored and Sam Hemelryk committed Jul 6, 2011
1 parent fbb580c commit 376d87c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mod/assignment/type/upload/assignment.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ function upload_file($mform, $options) {

$returnurl = new moodle_url('/mod/assignment/view.php', array('id'=>$this->cm->id));
$submission = $this->get_submission($USER->id);
$filecount = $this->count_user_files($submission->id);

if (!$this->can_upload_file($submission)) {
$this->view_header(get_string('upload'));
Expand Down

0 comments on commit 376d87c

Please sign in to comment.