From: Roland Häder Date: Mon, 18 Apr 2011 20:19:17 +0000 (+0000) Subject: Crunchers may have have own filters X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7579c581ee14fff10761fc01e59866d2cf24618;p=hub.git Crunchers may have have own filters --- diff --git a/application/hub/main/commands/console/class_HubConsoleCruncherCommand.php b/application/hub/main/commands/console/class_HubConsoleCruncherCommand.php index d62a939d5..4885b8993 100644 --- a/application/hub/main/commands/console/class_HubConsoleCruncherCommand.php +++ b/application/hub/main/commands/console/class_HubConsoleCruncherCommand.php @@ -74,6 +74,9 @@ class HubConsoleCruncherCommand extends BaseCommand implements Commandable { // Get cruncher instance $cruncherInstance = Registry::getRegistry()->getInstance('cruncher'); + // Add some cruncher-specific filters + $cruncherInstance->addExtraCruncherFilters(); + // Get task handler instance $handlerInstance = Registry::getRegistry()->getInstance('task'); diff --git a/application/hub/main/commands/console/class_HubConsoleMainCommand.php b/application/hub/main/commands/console/class_HubConsoleMainCommand.php index f6af44969..ee71aaa6c 100644 --- a/application/hub/main/commands/console/class_HubConsoleMainCommand.php +++ b/application/hub/main/commands/console/class_HubConsoleMainCommand.php @@ -79,7 +79,7 @@ class HubConsoleMainCommand extends BaseCommand implements Commandable { /* * -------------------------- Hub activation -------------------------- - * Activates the hub by doing some final preparation steps and setting + * Activates the node by doing some final preparation steps and setting * the attribute $hubIsActive to true */ $nodeInstance->activateNode($requestInstance, $responseInstance);