Commit fd779009 authored by Zach Copley's avatar Zach Copley

Add Start/EndShowNoticeItem event hooks to single notice page

parent 3960c9ad
......@@ -314,10 +314,14 @@ class SingleNoticeItem extends NoticeListItem
function show()
{
$this->showStart();
$this->showNotice();
$this->showNoticeAttachments();
$this->showNoticeInfo();
$this->showNoticeOptions();
if (Event::handle('StartShowNoticeItem', array($this))) {
$this->showNotice();
$this->showNoticeAttachments();
$this->showNoticeInfo();
$this->showNoticeOptions();
Event::handle('EndShowNoticeItem', array($this));
}
$this->showEnd();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment