You are here

function display_cache_comment_delete in Display Cache 7

Implements hook_comment_delete().

File

./display_cache.module, line 122
Module file for Display Cache.

Code

function display_cache_comment_delete($comment) {
  if ($comment->status == COMMENT_PUBLISHED) {
    display_cache_clear_comment_host_entity_cache($comment);
  }
}