You are here

function deploy_delete_server_form_submit in Deploy - Content Staging 6

Same name and namespace in other branches
  1. 5 deploy.module \deploy_delete_server_form_submit()

Submit callback function for deploy_delete_server_form().

File

./deploy.servers.admin.inc, line 159
Page handlers for deploy server admin.

Code

function deploy_delete_server_form_submit($form, &$form_state) {
  db_query("DELETE FROM {deploy_servers} WHERE sid = %d", $form_state['values']['sid']);
  drupal_set_message(t('Server Deleted'));
  drupal_goto("/admin/build/deploy/servers");
}