function deploy_delete_plan_form_submit in Deploy - Content Staging 5
Same name and namespace in other branches
- 6 deploy.plans.admin.inc \deploy_delete_plan_form_submit()
delete a deployment plan submit handler.
File
- ./
deploy.module, line 478
Code
function deploy_delete_plan_form_submit($form_id, $form_values) {
db_query("delete from {deploy_plan_items} where pid = %d", $form_values['pid']);
db_query("delete from {deploy_plan} where pid = %d", $form_values['pid']);
drupal_set_message(t('Plan Deleted'));
drupal_goto("/admin/build/deploy/");
}