You are here

function hosting_site_delete_backup in Hostmaster (Aegir) 6

Delete a site backup record

1 call to hosting_site_delete_backup()
hosting_site_post_hosting_backup_delete_task in modules/hosting/site/hosting_site.drush.inc
Implementation of the hosting_post_backup_delete hook

File

modules/hosting/site/hosting_site.backups.inc, line 35
Site backup functions.

Code

function hosting_site_delete_backup($bid) {
  db_query("DELETE FROM {hosting_site_backups} WHERE bid=%d", $bid);
}