]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/bootstrap/node/class_NodeBootstrapExtraBootstrappingFilter.php
Introduced NodeObjectFactory to encapsulate (and ease) a lot calls.
[hub.git] / application / hub / main / filter / bootstrap / node / class_NodeBootstrapExtraBootstrappingFilter.php
index 5ab2352ba2bdfa32c09c945d5856da9bbad9d383..cee02f27eff37df56086f6db052349f41edcaf8d 100644 (file)
@@ -55,7 +55,7 @@ class NodeBootstrapExtraBootstrappingFilter extends BaseNodeFilter implements Fi
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get node instance
-               $nodeInstance = Registry::getRegistry()->getInstance('node');
+               $nodeInstance = NodeObjectFactory::createNodeInstance();
 
                // Do some extra bootstrapping steps
                $nodeInstance->doBootstrapping();