function hosting_ip_delete in Hostmaster (Aegir) 6
IP Utility function for hook_delete.
2 calls to hosting_ip_delete()
- hosting_server_delete in modules/
hosting/ server/ hosting_server.module - Implementation of hook_delete().
- hosting_site_delete in modules/
hosting/ site/ hosting_site.nodeapi.inc - Implementation of hook_delete().
File
- modules/
hosting/ server/ hosting.ip.inc, line 83 - General IP address CRUD routines.
Code
function hosting_ip_delete($node) {
db_query("DELETE FROM {hosting_ip_addresses} WHERE nid=%d", $node->nid);
}