You are here

function link_node_nodeapi in link node 6

Same name and namespace in other branches
  1. 5 link_node.module \link_node_nodeapi()

Clears the filter cache when any node is updated

File

./link_node.module, line 192

Code

function link_node_nodeapi(&$node, $op) {
  if ($op == "update") {

    // since this is a node-specific filter, clear the cache when nodes are updated
    cache_clear_all('*', 'cache_filter', TRUE);
  }
}