You are here

function revisioning_scheduler_node_delete in Revisioning 7

Same name and namespace in other branches
  1. 8 revisioning_scheduler/revisioning_scheduler.module \revisioning_scheduler_node_delete()

Implements hook_node_delete().

File

revisioning_scheduler/revisioning_scheduler.module, line 322
Allows revisions to be published at specified dates and times.

Code

function revisioning_scheduler_node_delete($node) {

  // Delete scheduled publication of revisions of the deleted node.
  _revisioning_scheduler_unschedule_all_revisions($node->nid);
}