You are here

function notifications_destination_delete_confirm_submit in Notifications 6.4

Destination deletion confirmed

File

includes/destination.inc, line 250
Destination management

Code

function notifications_destination_delete_confirm_submit($form, $form_state) {
  if ($destination = $form_state['values']['destination']) {
    notifications_destination_delete($destination->mdid);
    drupal_set_message('The destination and all its subscriptions have been deleted.');
  }
}