function comment_save_action

Saves a comment.

Related topics

File

modules/comment/comment.module, line 2681

Code

function comment_save_action($comment) {
  comment_save($comment);
  cache_clear_all();
  watchdog('action', 'Saved comment %title', array(
    '%title' => $comment->subject,
  ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.