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=b163bc88fb73c4e560dc6e265d19638abb2426d7;p=quix0rs-gnu-social.git Correct content now ... :-( Signed-off-by: Roland Haeder --- diff --git a/classes/Notice.php b/classes/Notice.php index 16b56e299c..2cd441d3b8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2863,11 +2863,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); } /**