You are here

function _hosting_ip_delete in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 server/hosting.ip.inc \_hosting_ip_delete()

IP Utility function for hook_delete.

1 call to _hosting_ip_delete()
hosting_server_delete in server/hosting_server.module
Implements hook_delete().

File

server/hosting.ip.inc, line 76
General IP address CRUD routines.

Code

function _hosting_ip_delete($node) {
  db_delete('hosting_ip_addresses')
    ->condition('nid', $node->nid)
    ->execute();
}