function display_cache_comment_update in Display Cache 7
Implements hook_comment_update().
This basically implements hook_comment_unpublished() which is not implemented by the comment module.
File
- ./
display_cache.module, line 113 - Module file for Display Cache.
Code
function display_cache_comment_update($comment) {
if ($comment->original && $comment->original->status != $comment->status && $comment->status == COMMENT_NOT_PUBLISHED) {
display_cache_clear_comment_host_entity_cache($comment);
}
}