mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-20563 Applying a temporary patch to the confirm delete form.
A more permanent solution will follow after Tim advice
This commit is contained in:
parent
18ec15e807
commit
dd800cea85
@ -1509,9 +1509,12 @@ class question_bank_view {
|
||||
if ($inuse) {
|
||||
$questionnames .= '<br />'.get_string('questionsinuse', 'quiz');
|
||||
}
|
||||
$baseurl = new moodle_url('edit.php');
|
||||
$r = $baseurl->params($this->baseurl->params());
|
||||
|
||||
echo $OUTPUT->confirm(get_string("deletequestionscheck", "quiz", $questionnames),
|
||||
$this->baseurl->out_action(array('deleteselected'=>$questionlist, 'confirm'=>md5($questionlist))),
|
||||
$this->baseurl);
|
||||
$baseurl->out_action(array('deleteselected'=>$questionlist, 'confirm'=>md5($questionlist))),
|
||||
$baseurl);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user