function _cloudflare_delete_comment in CloudFlare 6
Same name and namespace in other branches
- 7 cloudflare.module \_cloudflare_delete_comment()
Delete comment.
2 calls to _cloudflare_delete_comment()
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,
)));
}