function hosting_package_instance_delete in Hosting 7.3
Same name and namespace in other branches
- 5 package/hosting_package.instance.inc \hosting_package_instance_delete()
- 6.2 package/hosting_package.instance.inc \hosting_package_instance_delete()
- 7.4 package/hosting_package.instance.inc \hosting_package_instance_delete()
@todo Please document this function.
See also
File
- package/
hosting_package.instance.inc, line 268 - API for mapping packages to various Hosting node types
Code
function hosting_package_instance_delete($instance) {
db_delete('hosting_package_languages')
->condition('iid', $instance->iid)
->execute();
db_delete('hosting_package_instance')
->condition('iid', $instance->iid)
->execute();
}