You are here

function acl_node_delete in ACL 7

Same name and namespace in other branches
  1. 8 acl.module \acl_node_delete()

Implements hook_node_delete().

File

./acl.module, line 309
An API module providing by-user access control lists.

Code

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