]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/shutdown/node/class_NodeShutdownNodeFilter.php
Fixed array elements.
[hub.git] / application / hub / main / filter / shutdown / node / class_NodeShutdownNodeFilter.php
index c4af0c280ba39f71a73cc4e37897dcf957be17c8..be151db10e311fdb4a4f319a49ddb1355b5a7b48 100644 (file)
@@ -4,11 +4,11 @@
  * last one in 'shutdown' chain so the hub is shutted down at the very end of
  * its life... R.I.P. little hub...
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 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.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ class NodeShutdownNodeFilter extends BaseNodeFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get node instance
-               $nodeInstance = Registry::getRegistry()->getInstance('node');
+               $nodeInstance = NodeObjectFactory::createNodeInstance();
 
                // Shutdown the node. This should be the last line
                $nodeInstance->doShutdown();