function node_access_test_node_delete in Drupal 7
Implements hook_node_delete().
File
- modules/
node/ tests/ node_access_test.module, line 202 - A dummy module implementing node access related hooks for testing purposes.
Code
function node_access_test_node_delete($node) {
db_delete('node_access_test')
->condition('nid', $node->nid)
->execute();
}