Permalink
Browse files

MDL-31808 Upload assignment: fix user feedback display

  • Loading branch information...
1 parent 861de3c commit e9f2ede177cb06092ce0a294f9dcdd251f1df255 Ruslan Kabalin committed with Sam Hemelryk Feb 28, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 mod/assignment/type/upload/assignment.class.php
@@ -113,9 +113,6 @@ function view_feedback($submission=NULL) {
$userid = $submission->userid;
}
- if (empty($submission->timemarked)) { /// Nothing to show, so print nothing
- return;
- }
// Check the user can submit
$canviewfeedback = ($userid == $USER->id && has_capability('mod/assignment:submit', $this->context, $USER->id, false));
// If not then check if the user still has the view cap and has a previous submission

0 comments on commit e9f2ede

Please sign in to comment.