function node_expire_rules_expired_check in Node expire 6.2
Same name and namespace in other branches
- 8 node_expire.rules.inc \node_expire_rules_expired_check()
- 7.2 node_expire.rules.inc \node_expire_rules_expired_check()
- 7 node_expire.rules.inc \node_expire_rules_expired_check()
Check if the node has the the "Expired" flag on.
Parameters
$node: Object. The Node object.
File
- ./
node_expire.rules.inc, line 76 - Rules module integration.
Code
function node_expire_rules_expired_check($node) {
return !empty($node->expire) && $node->expire <= time() && $node->expired == 1;
}