forum_comment_publish

Versions
7
forum_comment_publish($comment)

Implements hook_comment_publish().

This actually handles the insert and update of published nodes since comment_save() calls hook_comment_publish() for all published comments.

Code

modules/forum/forum.module, line 462

<?php
function forum_comment_publish($comment) {
  _forum_update_forum_index($comment->nid);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.