function comment_notify_comment_delete in Comment Notify 8
Same name and namespace in other branches
- 7 comment_notify.module \comment_notify_comment_delete()
Deletes all the notifications when a comment is deleted.
File
- ./
comment_notify.module, line 207 - This module provides comment follow-up e-mail notifications.
Code
function comment_notify_comment_delete(CommentInterface $comment) {
module_load_include('inc', 'comment_notify', 'comment_notify');
comment_notify_remove_all_notifications($comment
->id());
}