You are here

function hosting_package_instance_delete in Hosting 5

Same name and namespace in other branches
  1. 6.2 package/hosting_package.instance.inc \hosting_package_instance_delete()
  2. 7.4 package/hosting_package.instance.inc \hosting_package_instance_delete()
  3. 7.3 package/hosting_package.instance.inc \hosting_package_instance_delete()

File

package/hosting_package.instance.inc, line 154
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);
}