summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-27 10:11:10 -0400
committerEvan Prodromou <evan@status.net>2009-09-27 10:11:10 -0400
commitf9bb35369a45fad45f4ca9fc8e03e49a512a5a29 (patch)
treefbbe8926f9d0ca6fc3ad43ef150aa1a72791ed13 /lib
parentced6bb1c4edba5ed87fe477c0554cf59fda3b94c (diff)
parentd3d9913be062c974e3ae721c0cbf5c5ad2cbfce8 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib')
-rw-r--r--lib/noticelist.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index d4cd3ff6e..c2ff7c26b 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -178,9 +178,12 @@ class NoticeListItem extends Widget
function show()
{
$this->showStart();
- $this->showNotice();
- $this->showNoticeInfo();
- $this->showNoticeOptions();
+ if (Event::handle('StartShowNoticeItem', array($this))) {
+ $this->showNotice();
+ $this->showNoticeInfo();
+ $this->showNoticeOptions();
+ Event::handle('EndShowNoticeItem', array($this));
+ }
$this->showEnd();
}