Skip navigation
Help

comment_save_action

7 comment.module comment_save_action($comment)

Saves a comment.

Related topics

2 string references to 'comment_save_action'

File

drupal/modules/comment/comment.module, line 2618
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));
}