function backup_migrate_ui_schedule_delete_confirm in Backup and Migrate 5.2
Ask confirmation for deletion of a schedule.
1 string reference to 'backup_migrate_ui_schedule_delete_confirm'
- backup_migrate_ui_schedule_delete in includes/
schedules.inc - Delete a schedule.
File
- includes/
schedules.inc, line 309 - All of the schedule handling code needed for Backup and Migrate.
Code
function backup_migrate_ui_schedule_delete_confirm($schedule_id) {
$form['schedule_id'] = array(
'#type' => 'value',
'#value' => $schedule_id,
);
$schedule = backup_migrate_get_schedule($schedule_id);
return confirm_form($form, t('Are you sure you want to delete the schedule %schedule?', array(
'%schedule' => $schedule['name'],
)), 'admin/content/backup_migrate/schedule', t('This will cannot be undone.'), t('Delete'), t('Cancel'));
}