You are here

function scheduler_node_delete in Scheduler 7

Implements hook_node_delete().

1 call to scheduler_node_delete()
scheduler_node_update in ./scheduler.module
Implements hook_node_update().

File

./scheduler.module, line 666
Scheduler publishes and unpublishes nodes on dates specified by the user.

Code

function scheduler_node_delete($node) {
  db_delete('scheduler')
    ->condition('nid', $node->nid)
    ->execute();
}