You are here

function views_content_cache_comment_insert in Views content cache 7.3

Implements hook_comment_insert().

File

./views_content_cache.module, line 49
Views content cache cache.

Code

function views_content_cache_comment_insert($comment) {
  if (!empty($comment->nid) && ($node = node_load($comment->nid))) {
    views_content_cache_update_set($comment, 'comment');
  }
}