You are here

function _cloudflare_delete_comment in CloudFlare 6

Same name and namespace in other branches
  1. 7 cloudflare.module \_cloudflare_delete_comment()

Delete comment.

2 calls to _cloudflare_delete_comment()
_cloudflare_ban_comment in ./cloudflare.module
_cloudflare_spam_report in ./cloudflare.module

File

./cloudflare.module, line 482

Code

function _cloudflare_delete_comment($cid) {
  db_query("DELETE FROM {comments} WHERE cid = %d", $cid);
  watchdog('action', t("Comment #%id has been deleted.", array(
    '%id' => $cid,
  )));
}