X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Ffilter%2Fshutdown%2Fnode%2Fclass_NodeShutdownNodeFilter.php;h=be151db10e311fdb4a4f319a49ddb1355b5a7b48;hb=28ce2d81a7efc30090f5e7a9c48b94fce3170a2a;hp=c4af0c280ba39f71a73cc4e37897dcf957be17c8;hpb=a9c315c022840a31e051201a61078dcde368f389;p=hub.git diff --git a/application/hub/main/filter/shutdown/node/class_NodeShutdownNodeFilter.php b/application/hub/main/filter/shutdown/node/class_NodeShutdownNodeFilter.php index c4af0c280..be151db10 100644 --- a/application/hub/main/filter/shutdown/node/class_NodeShutdownNodeFilter.php +++ b/application/hub/main/filter/shutdown/node/class_NodeShutdownNodeFilter.php @@ -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 + * @author Roland Haeder * @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();