You are here

public function backup_migrate_destination::delete_file in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_destination::delete_file()
  2. 8.3 includes/destinations.inc \backup_migrate_destination::delete_file()
  3. 6.3 includes/destinations.inc \backup_migrate_destination::delete_file()
  4. 6.2 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.

File

includes/destinations.inc, line 1006

Class

backup_migrate_destination
A base class for creating destinations.

Code

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