function RulesSchedulerDefaultTaskHandler::afterTaskQueued

Implements RulesSchedulerTaskHandlerInterface::afterTaskQueued().

Overrides RulesSchedulerTaskHandlerInterface::afterTaskQueued

File

rules_scheduler/includes/rules_scheduler.handler.inc, line 50

Class

RulesSchedulerDefaultTaskHandler
Default scheduled task handler.

Code

public function afterTaskQueued() {
    // Delete the task from the task list.
    db_delete('rules_scheduler')->condition('tid', $this->task['tid'])
        ->execute();
}