You are here

function backup_migrate_destination_nodesquirrel::delete_file in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::delete_file()
  2. 6.2 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::delete_file()
  3. 7.2 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::delete_file()

Delete from the NodeSquirrel destination.

Overrides backup_migrate_destination::delete_file

File

includes/destinations.nodesquirrel.inc, line 488
Functions to handle the NodeSquirrel backup destination.

Class

backup_migrate_destination_nodesquirrel
A destination for sending database backups to the NodeSquirel backup service.

Code

function delete_file($file_id) {
  if ($destination = $this
    ->_get_destination()) {
    $result = $this
      ->_xmlrpc('backups.deleteFile', array(
      $destination,
      $file_id,
    ));
  }
}