You are here

function deploy_node_revision_delete in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 deploy.manager.inc \deploy_node_revision_delete()

Implements hook_node_revision_delete().

File

./deploy.manager.inc, line 173
Deploy module functions for handling managed entities in plans.

Code

function deploy_node_revision_delete($node) {
  $plans = deploy_manager_plan_load_all();
  foreach ($plans as $plan) {
    deploy_manager_delete_revision_from_plan($plan->name, 'node', $node);
  }
}