function notifications_content_node_type_delete in Notifications 7
Implements hook_node_type_delete().
File
- notifications_content/
notifications_content.module, line 734 - Subscriptions to content events
Code
function notifications_content_node_type_delete($info) {
// Remove all subscriptions for this node type
Notifications_Subscription::delete_multiple(array(), array(
'node:type' => $info->type,
));
}