You are here

function workbench_access_node_delete in Workbench Access 7

Implements hook_node_delete().

1 call to workbench_access_node_delete()
workbench_access_node_insert in ./workbench_access.module
Implements hook_node_insert().

File

./workbench_access.module, line 779
Workbench Access module file.

Code

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