function node_expire_nodeapi in Node expire 6.2
Same name and namespace in other branches
- 5 node_expire.module \node_expire_nodeapi()
- 6 node_expire.module \node_expire_nodeapi()
Implementation of hook_nodeapi().
File
- ./
node_expire.module, line 81
Code
function node_expire_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
// Only deal with node types that have the Node expire feature enabled
$ntypes = variable_get('node_expire_ntypes', array());
if (!($ntypes = $ntypes[$node->type])) {
return;
}
module_load_include('nodeapi.inc', 'node_expire');
_node_expire_nodeapi($ntypes, $node, $op, $a3, $a4);
}