function acl_nodeapi in ACL 5
Same name and namespace in other branches
- 6 acl.module \acl_nodeapi()
Implementation of hook_nodeapi
File
- ./
acl.module, line 264 - acl.module
Code
function acl_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
switch ($op) {
case 'delete':
db_query("DELETE FROM {acl_node} WHERE nid = %d", $node->nid);
break;
}
}