You are here

function hosting_client_node_delete in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 client/hosting_client.module \hosting_client_node_delete()

Implements hook_node_delete().

File

client/hosting_client.module, line 1106

Code

function hosting_client_node_delete($node) {
  if ($node->type == 'platform') {
    db_delete('hosting_platform_client_access')
      ->condition('pid', $node->nid)
      ->execute();
  }
}