node_update_shutdown

5 node.module node_update_shutdown()

shutdown function to make sure we always mark the last node processed.

1 string reference to 'node_update_shutdown'

File

modules/node/node.module, line 2544
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function node_update_shutdown() {
  global $last_change, $last_nid;

  if ($last_change && $last_nid) {
    variable_set('node_cron_last', $last_change);
    variable_set('node_cron_last_nid', $last_nid);
  }
}
Login or register to post comments