From: Roland Haeder Date: Mon, 27 Mar 2017 19:41:27 +0000 (+0200) Subject: re-added doc-tag and removed double-declaration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be892e7d9814a72c422b7c0d23ed58e693b5bc8a;p=quix0rs-gnu-social.git re-added doc-tag and removed double-declaration Signed-off-by: Roland Haeder --- diff --git a/classes/Notice.php b/classes/Notice.php index 2cd441d3b8..4adba35307 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2862,6 +2862,11 @@ class Notice extends Managed_DataObject return !($is_local === Notice::LOCAL_NONPUBLIC || $is_local === Notice::GATEWAY); } + /** + * Checks whether this notice is in "private scope" (non-public notice) + * + * @return $isPrivate Whether this notice is private + */ public function isPrivateScope () { return ($this->scope != Notice::SITE_SCOPE && $this->scope != Notice::PUBLIC_SCOPE); @@ -3285,17 +3290,6 @@ class Notice extends Managed_DataObject } } - /** - * Checks whether this notice is in "private scope" (non-public notice) - * - * @return $isPrivate Whether this notice is private - */ - public function isPrivateScope () - { - return ($this->scope != Notice::SITE_SCOPE && - $this->scope != Notice::PUBLIC_SCOPE); - } - /** * Checks whether the current profile is allowed (in scope) to see this notice. *