You are here

function backup_migrate_destination_files::_delete_file in Backup and Migrate 7.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.file.inc \backup_migrate_destination_files::_delete_file()
  2. 6.3 includes/destinations.file.inc \backup_migrate_destination_files::_delete_file()
  3. 7.3 includes/destinations.file.inc \backup_migrate_destination_files::_delete_file()

File delete destination callback.

Overrides backup_migrate_destination::_delete_file

File

includes/destinations.file.inc, line 96
A destination type for saving locally to the server.

Class

backup_migrate_destination_files
A destination type for saving locally to the server.

Code

function _delete_file($file_id) {
  $filepath = $this
    ->get_filepath($file_id);
  file_unmanaged_delete($filepath);
}