function expire_comment_update in Cache Expiration 7
Same name and namespace in other branches
- 7.2 expire.module \expire_comment_update()
Implements hook_comment_update().
Acts on comments updates.
File
- ./
expire.module, line 59 - Provides logic for page cache expiration
Code
function expire_comment_update($comment) {
if (!empty($comment->nid)) {
$node = node_load($comment->nid);
if ($node) {
expire_node($node);
}
}
}