You are here

function expire_node_delete in Cache Expiration 7

Same name and namespace in other branches
  1. 7.2 expire.module \expire_node_delete()

Implements hook_node_delete().

Acts on deletion of nodes.

File

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

Code

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