]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/states/node/init/class_NodeInitState.php
Updated 'core'.
[hub.git] / application / hub / main / states / node / init / class_NodeInitState.php
index df88b8ede06f8aa2b38b5b8ffc9732a8f7b4e970..6f4014f17a421d3b91de0dc14625a54778731b74 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -38,16 +38,12 @@ class NodeInitState extends BaseNodeState implements Stateable {
        /**
         * Creates an instance of this class
         *
-        * @param       $nodeInstance   An instance of a NodeHelper class
         * @return      $stateInstance  An instance of a Stateable class
         */
-       public static final function createNodeInitState (NodeHelper $nodeInstance) {
+       public static final function createNodeInitState () {
                // Get new instance
                $stateInstance = new NodeInitState();
 
-               // Set the node instance
-               $stateInstance->setNodeInstance($nodeInstance);
-
                // Return the prepared instance
                return $stateInstance;
        }
@@ -61,7 +57,7 @@ class NodeInitState extends BaseNodeState implements Stateable {
         */
        public function nodeGeneratedSessionId () {
                // Create the new state instance
-               NodeStateFactory::createNodeStateInstanceByName('virgin', $this->getNodeInstance());
+               NodeStateFactory::createNodeStateInstanceByName('virgin');
        }
 }