function comment_delete

You are here

7 comment.module comment_delete($cid)
4.6 comment.module comment_delete($cid)
4.7 comment.module comment_delete($cid)
5 comment.module comment_delete($cid = NULL)
6 comment_delete($cid = NULL)

Delete a comment and all its replies.


$cid: The comment to delete.

2 calls to comment_delete()
comment_confirm_delete_submit in modules/comment/
Process comment_confirm_delete form submissions.
EntityCrudHookTestCase::testCommentHooks in modules/simpletest/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on comments.
8 string references to 'comment_delete'
comment_delete_multiple in modules/comment/comment.module
Delete comments and all their replies.
drupal-6.filled.database.php in modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
drupal-6.trigger.database.php in modules/simpletest/tests/upgrade/drupal-6.trigger.database.php
Test content for the trigger upgrade path.
drupal-7.trigger.database.php in modules/simpletest/tests/upgrade/drupal-7.trigger.database.php
Test content for the trigger upgrade path.
node_action_info in modules/node/node.module
Implements hook_action_info().

... See full list


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


function comment_delete($cid) {