You are here

function expire_node_revision_delete in Cache Expiration 7

Implements hook_node_revision_delete().

Acts on deletion of revisions.

File

./expire.module, line 149
Provides logic for page cache expiration

Code

function expire_node_revision_delete($node) {
  if (!empty($node->nid)) {
    expire_node($node);
  }
}