Skip navigation
Help

comment_delete

6 comment.admin.inc comment_delete($cid = NULL)
7 comment.module comment_delete($cid)

Delete a comment and all its replies.

Parameters

$cid: The comment to delete.

2 calls to comment_delete()

5 string references to 'comment_delete'

File

drupal/modules/comment/comment.module, line 1587
Enables users to comment on published content.

Code

function comment_delete($cid) {
  comment_delete_multiple(array($cid));
}