function hosting_site_delete_backup in Hosting 7.4
Same name and namespace in other branches
- 5 site/hosting_site.module \hosting_site_delete_backup()
- 6.2 site/hosting_site.backups.inc \hosting_site_delete_backup()
- 7.3 site/hosting_site.backups.inc \hosting_site_delete_backup()
Delete a site backup record
1 call to hosting_site_delete_backup()
- hosting_site_post_hosting_backup_delete_task in site/
hosting_site.drush.inc - Implements the hosting_post_backup_delete hook
File
- site/
hosting_site.backups.inc, line 46 - Site backup functions.
Code
function hosting_site_delete_backup($bid) {
db_delete('hosting_site_backups')
->condition('bid', $bid)
->execute();
}