function domain_source_node_delete in Domain Access 7.2
Same name and namespace in other branches
- 7.3 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 222 - 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();
}