function acl_nodeapi in ACL 6
Same name and namespace in other branches
- 5 acl.module \acl_nodeapi()
Implementation of hook_nodeapi().
File
- ./
acl.module, line 190 - An API module providing by-user access control lists.
Code
function acl_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
switch ($op) {
case 'delete':
db_query("DELETE FROM {acl_node} WHERE nid = %d", $node->nid);
break;
}
}