You are here

function rules_scheduler_tid_load in Rules 6

Load a task by a given task ID.

File

rules_scheduler/rules_scheduler.module, line 61
Rules scheduler module.

Code

function rules_scheduler_tid_load($tid) {
  $result = db_query("SELECT * FROM {rules_scheduler} WHERE tid = %d", $tid);
  $task = db_fetch_array($result);
  return $task;
}