You are here

function nodeaccess_node_delete in Nodeaccess 7

Same name and namespace in other branches
  1. 8.2 nodeaccess.module \nodeaccess_node_delete()
  2. 8 nodeaccess.module \nodeaccess_node_delete()

Implements hook_node_delete().

Parameters

Object $node:

File

./nodeaccess.module, line 667
Provide per node access control

Code

function nodeaccess_node_delete($node) {

  // Deleting node, delete related permissions.
  nodeaccess_delete_grants($node);
}