function comment_save_action

Saves a comment.

Related topics

File

drupal/modules/comment/comment.module, line 2667
Enables users to comment on published content.

Code

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