MDL-71378 mod_qbank: Implement add to quiz bank sharing UI
This commit is contained in:
@@ -89,5 +89,6 @@ $category->id = $categoryid;
|
||||
$catcontext = context::instance_by_id($contextid);
|
||||
$event = question_category_viewed::create_from_question_category_instance($category, $catcontext);
|
||||
$event->trigger();
|
||||
\core_question\local\bank\question_bank_helper::add_bank_context_to_recently_viewed($catcontext);
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
Reference in New Issue
Block a user