X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fcommands%2Fconsole%2Fclass_HubConsoleChatCommand.php;h=84776e33286a59cbe1b71a99b7503cf6f26f933c;hb=eb824b703d21d37a0860a4a72db320ed54046e84;hp=8b285286167f4157433b88c6f87411ebb6b08ff9;hpb=a0a0a197ca9f858041e636e47e3cc46d3d628d6c;p=hub.git diff --git a/application/hub/main/commands/console/class_HubConsoleChatCommand.php b/application/hub/main/commands/console/class_HubConsoleChatCommand.php index 8b2852861..84776e332 100644 --- a/application/hub/main/commands/console/class_HubConsoleChatCommand.php +++ b/application/hub/main/commands/console/class_HubConsoleChatCommand.php @@ -2,11 +2,11 @@ /** * A command for the 'chat client' routine * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team + * @copyright Copyright (c) 2012 Chat 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 @@ -67,9 +67,9 @@ class HubConsoleChatCommand extends BaseCommand implements Commandable { * extra arguments which mostly override config entries or enable special * features within the hub (none is ready at this development stage) */ - $this->debugOutput('BOOTSTRAP: Beginning with bootstrap...'); + self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: Beginning with bootstrap...'); $applicationInstance->getControllerInstance()->executeBootstrapFilters($requestInstance, $responseInstance); - $this->debugOutput('BOOTSTRAP: Bootstrap finished.'); + self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: Bootstrap finished.'); // Get chat instance $chatInstance = Registry::getRegistry()->getInstance('chat'); @@ -78,10 +78,10 @@ class HubConsoleChatCommand extends BaseCommand implements Commandable { $chatInstance->addExtraChatFilters(); // Get task handler instance - $handlerInstance = Registry::getRegistry()->getInstance('task'); + $handlerInstance = Registry::getRegistry()->getInstance('task_handler'); // Debug message - $this->debugOutput('MAIN: --- Entering main loop. ---'); + self::createDebugInstance(__CLASS__)->debugOutput('MAIN: --- Entering main loop. ---'); /* * ----------------------------- Main loop ---------------------------- @@ -95,7 +95,7 @@ class HubConsoleChatCommand extends BaseCommand implements Commandable { } // END - while // Debug message - $this->debugOutput('MAIN: --- Leaving main loop. ---'); + self::createDebugInstance(__CLASS__)->debugOutput('MAIN: --- Leaving main loop. ---'); } /**