MDL-20636 QE upgrade helper: Make resetting quiz attempts work.

This commit is contained in:
Tim Hunt 2011-05-13 16:46:47 +01:00
parent d02ac70862
commit 0c404c4211
5 changed files with 53 additions and 66 deletions

View file

@ -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;
}
}