function backup_migrate_destination_file_delete in Backup and Migrate 5.2
File delete destination callback.
2 string references to 'backup_migrate_destination_file_delete'
- backup_migrate_backup_migrate_destinations in includes/destinations.inc 
- Implementation of hook_backup_migrate_destinations().
- backup_migrate_backup_migrate_destination_types in includes/destinations.inc 
- Implementation of hook_backup_migrate_destination_types().
File
- includes/destinations.file.inc, line 36 
- Functions to handle the local server directory backup destinations.
Code
function backup_migrate_destination_file_delete($destination, $file_id) {
  $filepath = rtrim($destination['location'], '/') . '/' . $file_id;
  file_delete($filepath);
}