function tracker_comment_publish

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.

File

modules/tracker/tracker.module, line 222

Code

function tracker_comment_publish($comment) {
    _tracker_add($comment->nid, $comment->uid, $comment->changed);
}

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