]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/tasks/node/self_connect/class_NodeSelfConnectTask.php
Introduced NodeObjectFactory to encapsulate (and ease) a lot calls.
[hub.git] / application / hub / main / tasks / node / self_connect / class_NodeSelfConnectTask.php
index 9feeedfb2884251b860898c317d8f11333c458c4..74133b6a01ab2e04f44741899465b64d25109a9a 100644 (file)
@@ -63,7 +63,7 @@ class NodeSelfConnectTask extends BaseTask implements Taskable, Visitable {
         */
        public function executeTask () {
                // Get the node instance and try it
-               Registry::getRegistry()->getInstance('node')->doSelfConnection($this);
+               NodeObjectFactory::createNodeInstance()->doSelfConnection($this);
        }
 }