]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/tasks/node/self_connect/class_NodeSelfConnectTask.php
Continued with hub:
[hub.git] / application / hub / main / tasks / node / self_connect / class_NodeSelfConnectTask.php
index 2b7a32976c6a5ae4192f6b08d65468b2b855970b..1fc72785e30aa956ddb9d9cd4f9f4cb606f79cb2 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A SelfConnect node-task
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 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
@@ -46,7 +46,7 @@ class NodeSelfConnectTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
@@ -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);
        }
 }