You are here

function backup_migrate_ui_destination_delete_confirm_submit in Backup and Migrate 5.2

Delete a destination after confirmation.

File

includes/destinations.inc, line 508
All of the destination handling code needed for Backup and Migrate.

Code

function backup_migrate_ui_destination_delete_confirm_submit($form_id, $form_values) {
  $destination_id = $form_values['destination_id'];
  backup_migrate_destination_delete_destination($destination_id);
  return "admin/content/backup_migrate/destination";
}