function views_content_cache_comment_publish in Views content cache 7.3
Implements hook_comment_publish().
File
- ./
views_content_cache.module, line 76 - Views content cache cache.
Code
function views_content_cache_comment_publish($comment) {
if (!empty($comment->nid) && ($node = node_load($comment->nid))) {
views_content_cache_update_set($comment, 'comment');
}
}