function content_lock_node_delete in Content locking (anti-concurrent editing) 7
Same name and namespace in other branches
- 7.3 content_lock.module \content_lock_node_delete()
- 7.2 content_lock.module \content_lock_node_delete()
Implement hook_node_delete() to remove references to deleted nodes from the lock tables.
Parameters
$node: The node being deleted.
File
- ./
content_lock.module, line 152 - Allows users to lock documents for modification.
Code
function content_lock_node_delete($node) {
content_lock_release($node->nid, NULL);
}