function forum_comment_publish
forum_comment_publish($comment)
Implements hook_comment_publish().
This actually handles the insertion and update of published nodes since comment_save() calls hook_comment_publish() for all published comments.
File
- modules/forum/forum.module, line 492
- Provides discussion forums.
Code
function forum_comment_publish($comment) { _forum_update_forum_index($comment->nid); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!forum!forum.module/function/forum_comment_publish/7.x