]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Correct content now ... :-(
authorRoland Haeder <roland@mxchange.org>
Fri, 22 May 2015 03:18:35 +0000 (05:18 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:08 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
classes/Notice.php

index 16b56e299cca6687210c27c426eb89d9997598d8..2cd441d3b86c29eb581e5f337fa1271a12ac28e5 100644 (file)
@@ -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);
     }
 
     /**