function backup_migrate_ui_destination_restore_file

cis7 destinations.inc backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL)
cle7 destinations.inc backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL)
elmsmedia7 destinations.inc backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL)
icor7 destinations.inc backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL)
meedjum_blog7 destinations.inc backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL)
mooc7 destinations.inc backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL)

Restore a backup file from a destination.

1 string reference to 'backup_migrate_ui_destination_restore_file'
backup_migrate_destination::get_menu_items in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Add the menu items specific to the destination type.

File

sites/all/modules/ulmus/backup_migrate/includes/destinations.inc, line 366
All of the destination handling code needed for Backup and Migrate.

Code

function backup_migrate_ui_destination_restore_file($destination_id = NULL, $file_id = NULL) {
  if (backup_migrate_destination_file_exists($destination_id, $file_id)) {
    return drupal_get_form('backup_migrate_ui_destination_restore_file_confirm', $destination_id, $file_id);
  }
  drupal_goto(user_access('access backup files') ? BACKUP_MIGRATE_MENU_PATH . "/destination/list/files/" . $destination_id : BACKUP_MIGRATE_MENU_PATH);
}