1 comment.module | comment_delete($cid) |
Deletes a comment and all its replies.
Parameters
$cid: The ID of the comment to delete.
File
- core/
modules/ comment/ comment.module, line 1550 - Enables users to comment on published content.
Code
function comment_delete($cid) {
comment_delete_multiple(array($cid));
}