You are here

function backup_migrate_destination_files::delete_file in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 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_delete($filepath);
}