]> git.mxchange.org Git - hub.git/commitdiff
Opps ... :(
authorRoland Häder <roland@mxchange.org>
Thu, 17 May 2012 21:59:25 +0000 (21:59 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 17 May 2012 21:59:25 +0000 (21:59 +0000)
application/hub/main/nodes/class_BaseHubNode.php

index 94e11146afe1d8a9979e0eb9e5a4533eeb8bf1f2..58cdde153701ad7f9ecb5a54b1d8861214752e67 100644 (file)
@@ -606,24 +606,24 @@ class BaseHubNode extends BaseHubSystem implements Updateable {
        /**
         * Checks whether this node accepts announcements
         *
-        * @return      $acceptsAnnouncements   Whether this node accepts announcements
+        * @return      $acceptAnnouncements    Whether this node accepts announcements
         */
        public final function isAcceptingAnnouncements () {
                // Check it (this node must be active and not shutdown!)
-               $acceptsAnnouncements = (($this->acceptsAnnouncements === true) && ($this->isNodeActive()));
+               $acceptAnnouncements = (($this->acceptAnnouncements === true) && ($this->isNodeActive()));
 
                // Return it
-               return $acceptsAnnouncements;
+               return $acceptAnnouncements;
        }
 
        /**
         * Enables whether this node accepts announcements
         *
-        * @param       $acceptsAnnouncements   Whether this node accepts announcements (default: true)
+        * @param       $acceptAnnouncements    Whether this node accepts announcements (default: true)
         * @return      void
         */
-       protected final function enableAcceptingAnnouncements ($acceptsAnnouncements = true) {
-               $this->acceptAnnouncements = $acceptsAnnouncements;
+       protected final function enableAcceptingAnnouncements ($acceptAnnouncements = true) {
+               $this->acceptAnnouncements = $acceptAnnouncements;
        }