function backup_migrate_destination_files::delete_file in Backup and Migrate 8.2
Same name and namespace in other branches
- 6.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_unmanaged_delete($filepath);
}