]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
re-added doc-tag and removed double-declaration
authorRoland Haeder <roland@mxchange.org>
Mon, 27 Mar 2017 19:41:27 +0000 (21:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 27 Mar 2017 19:41:27 +0000 (21:41 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
classes/Notice.php

index e38f24ec55cb6c9ba4be433d7a13292db7b35b55..f4fda767457bef6a312fa44dcf0f823f2ea775ae 100644 (file)
@@ -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.
      *