You are here

function domain_source_node_delete in Domain Access 7.3

Same name and namespace in other branches
  1. 7.2 domain_source/domain_source.module \domain_source_node_delete()

Implements hook_node_delete()

1 call to domain_source_node_delete()
domain_source_node_insert in domain_source/domain_source.module
Implements hook_node_insert()

File

domain_source/domain_source.module, line 232
Creates a source domain for linking to content from other domains.

Code

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