diff options
author | Zach Copley <zach@status.net> | 2010-09-30 13:59:02 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-09-30 13:59:02 -0700 |
commit | 23c45d6c493ac08341d4c7e259a9c227c1f1970d (patch) | |
tree | bbca87731b1b7338c54942f26eee6e3be95f2a74 /actions/shownotice.php | |
parent | bc2b72a8723054affc4c71ab9ae55cf40aba7447 (diff) | |
parent | 3224f7fec9906b00684851759fcb476517d14e48 (diff) |
Merge branch 'anon-fave-plugin' into 0.9.x
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r-- | actions/shownotice.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php index 86df5f9f3..c8e9cfe66 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -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(); } |