summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-16 14:28:55 -0500
committerEvan Prodromou <evan@status.net>2009-11-16 14:28:55 -0500
commitd59af0296070cd868855564a0280e4be2c16410d (patch)
tree664f3f1030c0ac8770bbbca71252acabaa43b3dc /classes/Profile.php
parent05ff8925bf2d115bf2c249d6901f7f67b7ac7ba8 (diff)
disallow email on faves from sandboxed users
Diffstat (limited to 'classes/Profile.php')
-rw-r--r--classes/Profile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index 8754c506c..d52dff5af 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -697,6 +697,7 @@ class Profile extends Memcached_DataObject
case Right::PUBLICNOTICE:
case Right::EMAILONREPLY:
case Right::EMAILONSUBSCRIBE:
+ case Right::EMAILONFAVE:
$result = !$this->isSandboxed();
break;
default: