function deploy_delete_item_form_submit in Deploy - Content Staging 5
delete an item from a deployment plan form submit handler.
File
- ./
deploy.module, line 548
Code
function deploy_delete_item_form_submit($form_id, $form_values) {
db_query("delete from {deploy_plan_items} where iid = %d", $form_values['iid']);
drupal_set_message(t('Item Deleted'));
drupal_goto("/admin/build/deploy/list/" . $form_values['pid']);
}