Deletes comments and all their replies.
Parameters
$cids:
The IDs of the comments to delete.
See also
hook_comment_predelete()
hook_comment_delete()
File
- drupal/core/modules/comment/comment.module, line 1426
- Enables users to comment on published content.
Code
function comment_delete_multiple($cids) {
entity_delete_multiple('comment', $cids);
}