function _cloudflare_ban_comment in CloudFlare 7
Same name and namespace in other branches
- 6 cloudflare.module \_cloudflare_ban_comment()
1 call to _cloudflare_ban_comment()
File
- ./
cloudflare.module, line 152
Code
function _cloudflare_ban_comment($cid, $deletecid = FALSE) {
$ip = _get_ip_address_from_comment($cid);
//if (_cloudflare_ban_ip($ip) == "OK" && $deletecid) {
// only delete the comment if action returned true.
_cloudflare_delete_comment($cid);
//}
}