function node_update_shutdown in Drupal 5
Same name and namespace in other branches
- 4 modules/node.module \node_update_shutdown()
shutdown function to make sure we always mark the last node processed.
1 string reference to 'node_update_shutdown'
- node_update_index in modules/
node/ node.module - Implementation of hook_update_index().
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);
}
}