Skip to content

Commit

Permalink
MDL-34379 quiz reports: timetaken 'open' for never submitted attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Jul 19, 2012
1 parent 9592f5d commit 013c74d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mod/quiz/report/attemptsreport_table.php
Expand Up @@ -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 '-';
}
Expand Down

0 comments on commit 013c74d

Please sign in to comment.