function node_update_shutdown in Drupal 4
Same name and namespace in other branches
- 5 modules/node/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.module - Implementation of hook_update_index().
File
- modules/
node.module, line 2145 - The core that allows content to be submitted to the site.
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);
}
}