You are here

function _cloudflare_publish_comment in CloudFlare 7

Same name and namespace in other branches
  1. 6 cloudflare.module \_cloudflare_publish_comment()

Publish comment.

1 call to _cloudflare_publish_comment()
_cloudflare_whitelist_comment in ./cloudflare.module

File

./cloudflare.module, line 519

Code

function _cloudflare_publish_comment($cid) {
  $context['cid'] = $cid;
  comment_publish_action($comment = null, $context);
  watchdog('action', t("Comment #%id has been published.", array(
    '%id' => $cid,
  )));
}