function acl_node_remove_acl in ACL 7
Same name and namespace in other branches
- 8 acl.module \acl_node_remove_acl()
- 5 acl.module \acl_node_remove_acl()
- 6 acl.module \acl_node_remove_acl()
Remove an ACL completely from a node.
1 call to acl_node_remove_acl()
- AclWebTestCase::testNodeAclAddRemoveFromNode in tests/
acl.test - Includes acl_node_add_acl, acl_node_remove_acl, acl_node_clear_acls
File
- ./
acl.module, line 162 - An API module providing by-user access control lists.
Code
function acl_node_remove_acl($nid, $acl_id) {
db_delete('acl_node')
->condition('acl_id', $acl_id)
->condition('nid', $nid)
->execute();
}