function comment_notify_remove_all_notifications in Comment Notify 7
Same name and namespace in other branches
- 8 comment_notify.inc \comment_notify_remove_all_notifications()
Remove all the notifications linked with a comment.
Parameters
int $cid:
Return value
bool
1 call to comment_notify_remove_all_notifications()
File
- ./
comment_notify.inc, line 161 - Contains functions which utilize the database and other internal helpers.
Code
function comment_notify_remove_all_notifications($cid) {
return (bool) db_delete('comment_notify')
->condition('cid', $cid)
->execute();
}