function backup_migrate_ui_destination_download_file

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

Download a file to the browser.

1 string reference to 'backup_migrate_ui_destination_download_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 355
All of the destination handling code needed for Backup and Migrate.

Code

function backup_migrate_ui_destination_download_file($destination_id = NULL, $file_id = NULL) {
  if ($file = backup_migrate_destination_get_file($destination_id, $file_id)) {
    backup_migrate_include('files');
    $file->transfer();
  }
  drupal_goto(BACKUP_MIGRATE_MENU_PATH);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.