You are here

function workbench_scheduler_node_update in Workbench Scheduler 7

Same name and namespace in other branches
  1. 7.2 workbench_scheduler.module \workbench_scheduler_node_update()

Implements hook_node_update().

File

./workbench_scheduler.module, line 212
Content scheduling for Workbench.

Code

function workbench_scheduler_node_update($node) {
  if (isset($node->workbench_schedule)) {

    // Update the schedule.
    workbench_scheduler_save_node_schedule($node->nid, $node->vid, (array) $node->workbench_schedule);
  }
}