]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/shutdown/node/class_NodeShutdownFlushNodeListFilter.php
Updated 'core'.
[hub.git] / application / hub / main / filter / shutdown / node / class_NodeShutdownFlushNodeListFilter.php
index 9908b42951c5c78ffbf7faea1c5c32f9c83500a3..9f6f3e6a1047deb320925eddf36104a2d785f2eb 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A FlushNodeList filter for shutting down the node.
  *
- * @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
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class NodeShutdownFlushNodeListFilter extends BaseFilter implements Filterable {
+class NodeShutdownFlushNodeListFilter extends BaseNodeFilter implements Filterable {
        /**
         * Protected constructor
         *
@@ -56,7 +56,7 @@ class NodeShutdownFlushNodeListFilter extends BaseFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get node instance
-               $nodeInstance = Registry::getRegistry()->getInstance('node');
+               $nodeInstance = NodeObjectFactory::createNodeInstance();
 
                // Now do something
                $this->partialStub('Please implement this step.');