You are here

function backup_migrate_destination::delete_file in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.inc \backup_migrate_destination::delete_file()
  2. 6.3 includes/destinations.inc \backup_migrate_destination::delete_file()
  3. 6.2 includes/destinations.inc \backup_migrate_destination::delete_file()
  4. 7.3 includes/destinations.inc \backup_migrate_destination::delete_file()
  5. 7.2 includes/destinations.inc \backup_migrate_destination::delete_file()

Delete the file with the given destination specific id.

1 method overrides backup_migrate_destination::delete_file()
backup_migrate_destination_files::delete_file in includes/destinations.file.inc
File delete destination callback.

File

includes/destinations.inc, line 717

Class

backup_migrate_destination
A base class for creating destinations.

Code

function delete_file($file_id) {
  $this
    ->file_cache_clear();
  $this
    ->_delete_file($file_id);
}