You are here

function backup_migrate_destination_browser_save in Backup and Migrate 5.2

Browser download destination callback.

1 string reference to 'backup_migrate_destination_browser_save'
backup_migrate_backup_migrate_destination_types in includes/destinations.inc
Implementation of hook_backup_migrate_destination_types().

File

includes/destinations.browser.inc, line 12
Functions to handle the browser upload/download backup destination.

Code

function backup_migrate_destination_browser_save($destination, $file, $settings) {
  require_once './' . drupal_get_path('module', 'backup_migrate') . '/includes/files.inc';
  $info = backup_migrate_file_info($file);
  $info['filename'] = $settings['filename'];
  backup_migrate_file_transfer($info);
}