mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-20636 QE upgrade helper: Make resetting quiz attempts work.
This commit is contained in:
parent
d02ac70862
commit
0c404c4211
5 changed files with 53 additions and 66 deletions
|
@ -255,8 +255,8 @@ class local_qeupgradehelper_resettable_quiz_list extends local_qeupgradehelper_q
|
|||
|
||||
public function get_row($quizinfo) {
|
||||
$row = parent::get_row($quizinfo);
|
||||
$row[] = html_writer::link(local_qeupgradehelper_url('resetattempts', array('quizid' => $quizinfo->id)),
|
||||
get_string('resetattempts', 'local_qeupgradehelper'));
|
||||
$row[] = html_writer::link(local_qeupgradehelper_url('resetquiz', array('quizid' => $quizinfo->id)),
|
||||
get_string('resetquiz', 'local_qeupgradehelper'));
|
||||
return $row;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue