]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/commands/console/class_HubConsoleCruncherCommand.php
Added DHT initialization task (see comments below):
[hub.git] / application / hub / main / commands / console / class_HubConsoleCruncherCommand.php
index 501bb7508e59fc62273e2f7bc9016585413ae7fe..dd159a089ccd97b250064abf6204a0b8983825d0 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright  Copyright (c) 2011 - 2012 Cruncher Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -78,7 +78,7 @@ class HubConsoleCruncherCommand extends BaseCommand implements Commandable {
                $cruncherInstance->addExtraCruncherFilters();
 
                // Get task handler instance
-               $handlerInstance = Registry::getRegistry()->getInstance('task');
+               $handlerInstance = Registry::getRegistry()->getInstance('task_handler');
 
                // Debug message
                self::createDebugInstance(__CLASS__)->debugOutput('MAIN: --- Entering main loop. ---');