function backup_migrate_destination_delete_file in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_destination_delete_file()
- 8.3 includes/destinations.inc \backup_migrate_destination_delete_file()
- 5.2 includes/destinations.inc \backup_migrate_destination_delete_file()
- 6.3 includes/destinations.inc \backup_migrate_destination_delete_file()
- 7.3 includes/destinations.inc \backup_migrate_destination_delete_file()
- 7.2 includes/destinations.inc \backup_migrate_destination_delete_file()
Delete a file in the given destination.
1 call to backup_migrate_destination_delete_file()
- backup_migrate_ui_destination_delete_file_confirm_submit in includes/
destinations.inc - Delete confirmed, perform the delete.
File
- includes/
destinations.inc, line 253
Code
function backup_migrate_destination_delete_file($destination_id, $file_id) {
if ($destination = backup_migrate_get_destination($destination_id)) {
return $destination
->delete_file($file_id);
}
}