function deploy_empty_plan in Deploy - Content Staging 6
Remove all items from a deployment plan.
Parameters
$pid: Unique ID of the plan whose items should be removed.
4 calls to deploy_empty_plan()
- comment_deploy_operations_add_now_form_submit in modules/
comment_deploy/ comment_deploy.pages.inc - Submit handler for comment_deploy_operations_add_now_form().
- deploy_delete_plan in ./
deploy.module - Delete a deployment plan
- node_deploy_operations_create_plan in modules/
node_deploy/ node_deploy.pages.inc - Helper function that creates a deployment plan.
- taxonomy_vocabulary_deploy_add_form_submit in modules/
taxonomy_deploy/ taxonomy_deploy.pages.inc - Submit handler for taxonomy_vocabulary_deploy_add_form().
File
- ./
deploy.module, line 660 - Deployment API which enables modules to deploy items between servers.
Code
function deploy_empty_plan($pid) {
db_query("DELETE FROM {deploy_plan_items} WHERE pid = %d", $pid);
}