summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Profile.php')
-rw-r--r--classes/Profile.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index e3b35533a..291e3f064 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -692,6 +692,9 @@ class Profile extends Memcached_DataObject
case Right::NEWNOTICE:
$result = !$this->isSilenced();
break;
+ case Right::PUBLICNOTICE:
+ $result = !$this->isSandboxed();
+ break;
default:
$result = false;
break;