You are here

function apachesolr_comment_publish in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.module \apachesolr_comment_publish()

Implements hook_comment_publish().

File

./apachesolr.module, line 709
Integration with the Apache Solr search application.

Code

function apachesolr_comment_publish($comment) {
  apachesolr_mark_entity('node', $comment->nid);
}