function hosting_ip_delete_revision in Hostmaster (Aegir) 6
IP Utility function for hook_delete_revision.
3 calls to hosting_ip_delete_revision()
- hosting_ip_save in modules/
hosting/ server/ hosting.ip.inc  - IP Utility function for hook_update/hook_insert.
 - hosting_nodeapi_server_delete_revision in modules/
hosting/ server/ hosting_server.module  - Implementation of hook_delete_revision().
 - hosting_nodeapi_site_delete_revision in modules/
hosting/ site/ hosting_site.nodeapi.inc  - Implementation of hook_nodeapi_delete_revision().
 
File
- modules/
hosting/ server/ hosting.ip.inc, line 90  - General IP address CRUD routines.
 
Code
function hosting_ip_delete_revision($node) {
  db_query("DELETE FROM {hosting_ip_addresses} WHERE vid=%d", $node->vid);
}