From: Roland Haeder Date: Fri, 22 May 2015 03:18:35 +0000 (+0200) Subject: Correct content now ... :-( X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3bdb80a182b0fca7840d097be628a29a56e0c542;p=quix0rs-gnu-social.git Correct content now ... :-( Signed-off-by: Roland Haeder --- diff --git a/classes/Notice.php b/classes/Notice.php index 15e50acbe0..83d5d5fd57 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2667,11 +2667,8 @@ class Notice extends Managed_DataObject } public function isPrivateScope () { - return ( - ($this->is_local === Notice::LOCAL_NONPUBLIC) || - ($this->is_local === Notice::GATEWAY) || - ($this->is_local === Notice::REMOTE) - ); + return ($this->scope != Notice::SITE_SCOPE && + $this->scope != Notice::PUBLIC_SCOPE); } /**