You are here

function views_content_cache_comment_unpublish in Views content cache 7.3

Implements hook_comment_unpublish().

File

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

Code

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