You are here

function hosting_client_nodeapi in Hosting 6.2

Implementation of hook_nodeapi().

File

client/hosting_client.module, line 969

Code

function hosting_client_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
  switch ($op) {
    case 'delete':
      if ($node->type == 'platform') {
        db_query("DELETE FROM {hosting_platform_client_access} WHERE pid = %d", $node->nid);
      }
  }
}