You are here

function backup_migrate_ui_profile_delete_confirm_submit in Backup and Migrate 5.2

Delete a destination after confirmation.

File

includes/profiles.inc, line 223
All of the settings profiles handling code for Backup and Migrate.

Code

function backup_migrate_ui_profile_delete_confirm_submit($form_id, $form_values) {
  $profile_id = $form_values['profile_id'];
  backup_migrate_profile_delete_profile($profile_id);
  return "admin/content/backup_migrate/profile";
}