You are here

function acl_node_remove_acl in ACL 6

Same name and namespace in other branches
  1. 8 acl.module \acl_node_remove_acl()
  2. 5 acl.module \acl_node_remove_acl()
  3. 7 acl.module \acl_node_remove_acl()

Remove an ACL completely from a node.

File

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

Code

function acl_node_remove_acl($nid, $acl_id) {
  db_query("DELETE FROM {acl_node} WHERE acl_id = %d AND nid = %d", $acl_id, $nid);
}