You are here

function acl_node_remove_acl in ACL 5

Same name and namespace in other branches
  1. 8 acl.module \acl_node_remove_acl()
  2. 6 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 182
acl.module

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);
}