1.20.x comment.module comment_delete($cid)

Deletes a comment and all its replies.

Parameters

$cid: The ID of the comment to delete.

File

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

Code

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