MDL-71378 qbank_bulkmove: refactor for moving to shared question banks

This commit is contained in:
Simon Adams
2024-11-18 10:22:58 +00:00
parent 746efe94eb
commit a6c4ddada5
32 changed files with 1067 additions and 175 deletions
+3 -1
View File
@@ -82,8 +82,10 @@ echo $renderer->render($qbankaction);
// Print the question area.
$questionbank->display();
[$categoryid, $contextid] = explode(',', $pagevars['cat']);
$questionbank->init_bulk_actions_js();
// Log the view of this category.
list($categoryid, $contextid) = explode(',', $pagevars['cat']);
$category = new stdClass();
$category->id = $categoryid;
$catcontext = context::instance_by_id($contextid);