You are here

function backup_migrate_ui_schedule_delete_confirm_submit in Backup and Migrate 5.2

Delete a destination after confirmation.

File

includes/schedules.inc, line 318
All of the schedule handling code needed for Backup and Migrate.

Code

function backup_migrate_ui_schedule_delete_confirm_submit($form_id, $form_values) {
  $schedule_id = $form_values['schedule_id'];
  backup_migrate_schedule_delete_schedule($schedule_id);
  return "admin/content/backup_migrate/schedule";
}