function backup_migrate_destination_files::_delete_file in Backup and Migrate 8.3
Same name and namespace in other branches
- 6.3 includes/destinations.file.inc \backup_migrate_destination_files::_delete_file()
- 7.3 includes/destinations.file.inc \backup_migrate_destination_files::_delete_file()
- 7.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 110 - 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);
}