Permalink
Browse files

MDL-34379 quiz reports: timetaken 'open' for never submitted attempts

  • Loading branch information...
1 parent 9592f5d commit 013c74d058005603dbb48b9b069aab752e58ea99 @timhunt timhunt committed Jul 17, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 mod/quiz/report/attemptsreport_table.php
@@ -189,8 +189,6 @@ public function col_timefinish($attempt) {
public function col_duration($attempt) {
if ($attempt->timefinish) {
return format_time($attempt->timefinish - $attempt->timestart);
- } else if ($attempt->timestart) {
- return get_string('unfinished', 'quiz');
} else {
return '-';
}

0 comments on commit 013c74d

Please sign in to comment.