Permalink
Browse files

remove upload form for guests - backported from HEAD

  • Loading branch information...
1 parent c4a006c commit 7b62df3807f7a1e2d3fa975ca112e728880b9179 skodak committed Jan 19, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assignment/type/uploadsingle/assignment.class.php
@@ -64,7 +64,7 @@ function view() {
}
}
- if ($this->isopen() && (!$filecount || $this->assignment->resubmit || !$submission->timemarked)) {
+ if (!isguest($USER->id) && $this->isopen() && (!$filecount || $this->assignment->resubmit || !$submission->timemarked)) {
$this->view_upload_form();
}

0 comments on commit 7b62df3

Please sign in to comment.