You are here

function pm_attribute_form_delete in Drupal PM (Project Management) 7

Callback for attribute delete.

File

./pm.admin.inc, line 420
List functions for the Project Management module.

Code

function pm_attribute_form_delete($form, &$form_state) {
  $destination = drupal_get_destination();
  if (array_key_exists('destination', $_REQUEST)) {
    unset($_REQUEST['destination']);
  }
  drupal_goto('pm/attributes/delete/' . $form_state['values']['aid'], $destination);
}