function link_node_nodeapi in link node 5
Same name and namespace in other branches
- 6 link_node.module \link_node_nodeapi()
Clears the filter cache when any node is updated
File
- ./
link_node.module, line 207
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(null, 'cache_filter');
}
}