mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-34379' of git://github.com/timhunt/moodle
This commit is contained in:
commit
052f346105
1 changed files with 0 additions and 2 deletions
|
@ -189,8 +189,6 @@ abstract class quiz_attempts_report_table extends table_sql {
|
||||||
public function col_duration($attempt) {
|
public function col_duration($attempt) {
|
||||||
if ($attempt->timefinish) {
|
if ($attempt->timefinish) {
|
||||||
return format_time($attempt->timefinish - $attempt->timestart);
|
return format_time($attempt->timefinish - $attempt->timestart);
|
||||||
} else if ($attempt->timestart) {
|
|
||||||
return get_string('unfinished', 'quiz');
|
|
||||||
} else {
|
} else {
|
||||||
return '-';
|
return '-';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue