Browse Source

Commented code should not be commited.

1.0
Andrés Montañez 10 years ago
parent
commit
aaf92d5001
  1. 8
      docs/example-config/.mage/tasks/TaskWithParameters.php

8
docs/example-config/.mage/tasks/TaskWithParameters.php

@ -18,8 +18,10 @@ class TaskWithParameters extends AbstractTask
public function run()
{
//throw new Mage_Task_SkipException;
//return false;
return true;
if ($this->getParameter('booleanOption', false)) {
return true;
} else {
return false;
}
}
}
Loading…
Cancel
Save