New version. Added getters to config and task.

New concept of "stage" where the task runs.
This commit is contained in:
Andrs Montaez
2012-02-24 13:39:40 -02:00
parent de772028bb
commit 3f0efc1a42
9 changed files with 39 additions and 17 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class Mage_Task_BuiltIn_Releases_Rollback
} else {
foreach ($tasksToRun as $taskName) {
$task = Mage_Task_Factory::get($taskName, $this->_config, true);
$task = Mage_Task_Factory::get($taskName, $this->_config, true, 'deploy');
$task->init();
Mage_Console::output('Running <purple>' . $task->getName() . '</purple> ... ', 2, false);