function rules_scheduler_task_delete

Deletes a task by a given task ID.

Parameters

int $tid: The task ID.

1 call to rules_scheduler_task_delete()
rules_scheduler_delete_task_submit in rules_scheduler/rules_scheduler.admin.inc
Submit handler for deleting single tasks.

File

rules_scheduler/rules_scheduler.module, line 139

Code

function rules_scheduler_task_delete($tid) {
    db_delete('rules_scheduler')->condition('tid', $tid)
        ->execute();
}