]> git.mxchange.org Git - hub.git/commitdiff
Move this away...
authorRoland Häder <roland@mxchange.org>
Tue, 5 Apr 2011 23:42:31 +0000 (23:42 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 5 Apr 2011 23:42:31 +0000 (23:42 +0000)
application/hub/main/nodes/class_BaseHubNode.php

index 9b89aee8458c666e4a21d44241ea61a8438fb996..e9240cb6b00b670eea4fe817f48ba56fc5cea942 100644 (file)
@@ -195,28 +195,6 @@ class BaseHubNode extends BaseHubSystem implements Updateable {
                return $this->bootIpPort;
        }
 
-       /**
-        * "Getter" for a printable state name
-        *
-        * @return      $stateName      Name of the node's state in a printable format
-        */
-       public final function getPrintableState () {
-               // Default is 'null'
-               $stateName = 'null';
-
-               // Get the state instance
-               $stateInstance = $this->getStateInstance();
-
-               // Is it an instance of Stateable?
-               if ($stateInstance instanceof Stateable) {
-                       // Then use that state name
-                       $stateName = $stateInstance->getStateName();
-               } // END - if
-
-               // Return result
-               return $stateName;
-       }
-
        /**
         * Checks wether the given IP address matches one of the bootstrapping nodes
         *