X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Ffilter%2Fbootstrap%2Fnode%2Fclass_NodeBootstrapGenerateSessionIdFilter.php;h=63a4ed98de041614325889cbc0798383706a3d37;hb=7448b65af7aa93151e8f8422b644c2bf4a44c4df;hp=4e0d06fbe0d045d71d6e03a1a82f6df340d77565;hpb=c13ca7c93ee55b02d1d3320fca5d2d8d6e953768;p=hub.git diff --git a/application/hub/main/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php b/application/hub/main/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php index 4e0d06fbe..63a4ed98d 100644 --- a/application/hub/main/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php +++ b/application/hub/main/filter/bootstrap/node/class_NodeBootstrapGenerateSessionIdFilter.php @@ -2,11 +2,11 @@ /** * A GenerateSessionId filter for bootstrapping * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Node 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 . */ -class NodeBootstrapGenerateSessionIdFilter extends BaseFilter implements Filterable { +class NodeBootstrapGenerateSessionIdFilter extends BaseNodeFilter implements Filterable { /** * Protected constructor * @@ -55,11 +55,12 @@ class NodeBootstrapGenerateSessionIdFilter extends BaseFilter implements Filtera */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { // Get node instance - $nodeInstance = Registry::getRegistry()->getInstance('node'); + $nodeInstance = NodeObjectFactory::createNodeInstance(); - // ------------------- More generic bootstrap steps ------------------- - // Generate the session id which will only be stored in RAM and kept for - // the whole "session". + /* + * Generate the session id which will only be stored in RAM and kept for + * the whole "session". + */ $nodeInstance->bootstrapGenerateSessionId(); } }