]> git.mxchange.org Git - hub.git/commitdiff
Crunchers may have have own filters
authorRoland Häder <roland@mxchange.org>
Mon, 18 Apr 2011 20:19:17 +0000 (20:19 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 18 Apr 2011 20:19:17 +0000 (20:19 +0000)
application/hub/main/commands/console/class_HubConsoleCruncherCommand.php
application/hub/main/commands/console/class_HubConsoleMainCommand.php

index d62a939d5b55c66c5ad6adf27be327e33561bd77..4885b89935b596cd49d0dab0d073e5ba3a3c4f1d 100644 (file)
@@ -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');
 
index f6af44969b2bca60945218f814774cfb722fcb3c..ee71aaa6cf2bc33f65a321306b5526bd600bc1df 100644 (file)
@@ -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);