mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-40058 mod_wiki: trigger event on page map view
This commit is contained in:
parent
32a8bcc4a7
commit
2270661e51
@ -70,6 +70,7 @@ $event = \mod_wiki\event\page_map_viewed::create(
|
||||
$event->add_record_snapshot('wiki_pages', $page);
|
||||
$event->add_record_snapshot('wiki', $wiki);
|
||||
$event->add_record_snapshot('wiki_subwikis', $subwiki);
|
||||
$event->trigger();
|
||||
|
||||
// Print page header
|
||||
$wikipage->set_view($option);
|
||||
|
Loading…
x
Reference in New Issue
Block a user