Add trigger after documentItem->getComments()

This commit is contained in:
Kijin Sung 2017-11-25 15:51:49 +09:00
parent 877863854e
commit bb51db5956

View file

@ -918,6 +918,9 @@ class documentItem extends Object
Context::set('cpage', $output->page_navigation->cur_page);
if($output->total_page>1) $this->comment_page_navigation = $output->page_navigation;
// Call trigger (after)
$output = ModuleHandler::triggerCall('document.getComments', 'after', $comment_list);
return $comment_list;
}