From: Roland Häder Date: Tue, 5 Apr 2011 23:42:31 +0000 (+0000) Subject: Move this away... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=232a6432116046ecc675db9e1079bb7a717581b9;p=hub.git Move this away... --- diff --git a/application/hub/main/nodes/class_BaseHubNode.php b/application/hub/main/nodes/class_BaseHubNode.php index 9b89aee84..e9240cb6b 100644 --- a/application/hub/main/nodes/class_BaseHubNode.php +++ b/application/hub/main/nodes/class_BaseHubNode.php @@ -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 *