]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/mail.php
Found some unreachable code in Favorite
[quix0rs-gnu-social.git] / lib / mail.php
index 9c3342a8cc83ed3fe2d5c45c58937ccdccccfd90..8b30eba609d00633710c34bd4efad6fc3e275d1e 100644 (file)
@@ -675,6 +675,7 @@ function mail_notify_message($message, $from=null, $to=null)
  */
 function mail_notify_fave(User $rcpt, Profile $sender, Notice $notice)
 {
+    // This test is actually "if the sender is sandboxed"
     if (!$sender->hasRight(Right::EMAILONFAVE)) {
         return;
     }