]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/commands/console/class_HubConsoleMainCommand.php
Updated 'core'.
[hub.git] / application / hub / main / commands / console / class_HubConsoleMainCommand.php
index 339ebe71e4c796568eff2613ad86399812b2ef85..e92324a3cad73509f2fa9366f9cb3eb9c42be675 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @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 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -72,7 +72,7 @@ class HubConsoleMainCommand extends BaseCommand implements Commandable {
                self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: Bootstrap finished.');
 
                // Get node instance
-               $nodeInstance = Registry::getRegistry()->getInstance('node');
+               $nodeInstance = NodeObjectFactory::createNodeInstance();
 
                // Add some node-specific filters, e.g. announcement
                $nodeInstance->addExtraNodeFilters();