function notifications_content_node_delete in Notifications 7
Implementation of hook_node_delete()
File
- notifications_content/
notifications_content.module, line 726 - Subscriptions to content events
Code
function notifications_content_node_delete($node) {
// Remove all subscriptions for this node
Notifications_Subscription::delete_multiple(array(), array(
'node:nid' => $node->nid,
), FALSE);
}