summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-08 23:22:50 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-08 23:22:50 +0100
commit104a47e4a2903f1c7ea73363a73cee12f0cf14ac (patch)
treeac68398c8b50e1eb63e43499d5c6e11cc3443dd1 /lib/noticelist.php
parent0ab17f382b9993ada3d12d4cdace72cca53fb545 (diff)
parent111f6a775daf9334adb05c9f8e539d682238f4dd (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index 385da37e9..027db2b3e 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -513,7 +513,7 @@ class NoticeListItem extends Widget
$user = common_current_user();
if (!empty($user) &&
- ($this->notice->profile_id == $user->id || $user->hasRight(Right::deleteOthersNotice))) {
+ ($this->notice->profile_id == $user->id || $user->hasRight(Right::DELETEOTHERSNOTICE))) {
$deleteurl = common_local_url('deletenotice',
array('notice' => $this->notice->id));