Permalink
Browse files

MDL-27934 Upload Assignment - Remove useless code

  • Loading branch information...
1 parent d64baec commit 0e30d4c7c78f64f9e7801b203078af1cb54e7d06 @sunner sunner committed with danpoltawski Jun 20, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 mod/assignment/type/upload/assignment.class.php
@@ -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'));

0 comments on commit 0e30d4c

Please sign in to comment.