You are here

function node_expire_update_lastnotify in Node expire 6.2

Same name and namespace in other branches
  1. 8 node_expire.rules.inc \node_expire_update_lastnotify()
  2. 7.2 node_expire.rules.inc \node_expire_update_lastnotify()
  3. 7 node_expire.rules.inc \node_expire_update_lastnotify()

Update lastnotify on nodes.

Parameters

$nids: Object. The Node object with all node IDs that should update lastnotify.

File

./node_expire.rules.inc, line 109
Rules module integration.

Code

function node_expire_update_lastnotify($nids) {
  db_query("UPDATE {node_expire} SET lastnotify = '" . time() . "' WHERE nid = '" . $nids->nid . "'");
}