You are here

function deploy_delete_server_form_submit in Deploy - Content Staging 5

Same name and namespace in other branches
  1. 6 deploy.servers.admin.inc \deploy_delete_server_form_submit()

delete a deployment server form submit handler.

File

./deploy.module, line 513

Code

function deploy_delete_server_form_submit($form_id, $form_values) {
  db_query("delete from {deploy_servers} where sid = %d", $form_values['sid']);
  drupal_set_message(t('Server Deleted'));
  drupal_goto("/admin/build/deploy/servers");
}