MDL-40058 mod_wiki: trigger event on page map view

This commit is contained in:
Rajesh Taneja 2013-12-12 09:36:24 +08:00 committed by Marina Glancy
parent 32a8bcc4a7
commit 2270661e51

View File

@ -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);