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/?p=quix0rs-gnu-social.git;a=commitdiff_plain;h=1b678c31fb7cdd13946d87f0f2820423b8c5a259 re-added doc-tag and removed double-declaration Signed-off-by: Roland Haeder --- diff --git a/classes/Notice.php b/classes/Notice.php index e38f24ec55..f4fda76745 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2785,6 +2785,11 @@ class Notice extends Managed_DataObject ($this->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); @@ -3124,17 +3129,6 @@ class Notice extends Managed_DataObject print "\n"; } - /** - * 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. *