MDL-76757 Question bank: Can not delete the question completely

This commit is contained in:
danghieu1407
2023-07-10 14:32:35 +07:00
parent 2ef6a3b9b9
commit bb7d15c7e0
10 changed files with 397 additions and 32 deletions
+1
View File
@@ -38,6 +38,7 @@ if ($PAGE->course->id == $SITE->id) {
$PAGE->set_primary_active_tab('home');
}
$thispageurl->param('deleteall', 1);
$questionbank = new core_question\local\bank\view($contexts, $thispageurl, $COURSE, $cm);
$context = $contexts->lowest();