function revisioning_scheduler_node_delete in Revisioning 8
Same name and namespace in other branches
- 7 revisioning_scheduler/revisioning_scheduler.module \revisioning_scheduler_node_delete()
Implements hook_node_delete().
File
- revisioning_scheduler/
revisioning_scheduler.module, line 316 - 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);
}