function node_deploy_nodeapi in Deploy - Content Staging 6
Implementation of hook_nodeapi().
File
- modules/
node_deploy/ node_deploy.module, line 55 - Deployment API which enables modules to deploy items between servers.
Code
function node_deploy_nodeapi(&$node, $op, $a3, $a4) {
// Remove the deleted node from all plans.
if ($op == 'delete') {
deploy_plan_item_delete(array(
'module' => 'node',
'data' => $node->nid,
));
}
}