]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/bootstrap/node/class_NodeBootstrapGenerateNodeIdFilter.php
Introduced NodeObjectFactory to encapsulate (and ease) a lot calls.
[hub.git] / application / hub / main / filter / bootstrap / node / class_NodeBootstrapGenerateNodeIdFilter.php
index 0617584798750c1e435c8e87847b8e55f06f2260..5c31c17ba35ad9ebcf4588dfaf556e50c8bffe9c 100644 (file)
@@ -55,7 +55,7 @@ class NodeBootstrapGenerateNodeIdFilter extends BaseNodeFilter implements Filter
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get node instance
-               $nodeInstance = Registry::getRegistry()->getInstance('node');
+               $nodeInstance = NodeObjectFactory::createNodeInstance();
 
                /*
                 * Acquire a hub-id. This step generates on first launch a new one and