mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-24 08:10:07 +02:00
Tasks are aware if they are in rollbacks; they will be invoked only if they implement the new interface RollbackAware.
14 lines
207 B
PHP
14 lines
207 B
PHP
<?php
|
|
class Task_SampleTask
|
|
extends Mage_Task_TaskAbstract
|
|
{
|
|
public function getName()
|
|
{
|
|
return 'A Sample Task';
|
|
}
|
|
|
|
public function run()
|
|
{
|
|
return true;
|
|
}
|
|
} |