function backup_migrate_destination_file_exists in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_destination_file_exists()
- 8.3 includes/destinations.inc \backup_migrate_destination_file_exists()
- 6.3 includes/destinations.inc \backup_migrate_destination_file_exists()
- 7.3 includes/destinations.inc \backup_migrate_destination_file_exists()
- 7.2 includes/destinations.inc \backup_migrate_destination_file_exists()
Check if a file exists in the given destination.
2 calls to backup_migrate_destination_file_exists()
- backup_migrate_ui_destination_delete_file in includes/
destinations.inc - Menu callback to delete a file from a destination.
- backup_migrate_ui_destination_restore_file in includes/
destinations.inc - Restore a backup file from a destination.
File
- includes/
destinations.inc, line 232
Code
function backup_migrate_destination_file_exists($destination_id, $file_id) {
if ($destination = backup_migrate_get_destination($destination_id)) {
return $destination
->file_exists($file_id);
}
return NULL;
}