Merge branch 'MDL-34379' of git://github.com/timhunt/moodle

This commit is contained in:
Dan Poltawski 2012-07-23 14:13:58 +08:00
commit 052f346105

View file

@ -189,8 +189,6 @@ abstract class quiz_attempts_report_table extends table_sql {
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 '-';
}