You are here

function hosting_package_instance_delete in Hostmaster (Aegir) 6

File

modules/hosting/package/hosting_package.instance.inc, line 178
API for mapping packages to various Hosting node types

Code

function hosting_package_instance_delete($instance) {
  db_query("DELETE FROM {hosting_package_languages} WHERE iid=%d", $instance->iid);
  db_query("DELETE FROM {hosting_package_instance} WHERE iid = %d", $instance->iid);
}