You are here

function domain_path_node_delete in Domain Path 7

Implements hook_node_delete().

1 call to domain_path_node_delete()
domain_path_node_insert in ./domain_path.module
Implements hook_node_insert().

File

./domain_path.module, line 535
Path alias handling for multiple domains.

Code

function domain_path_node_delete($node) {
  db_delete('domain_path')
    ->condition('entity_type', 'node')
    ->condition('entity_id', $node->nid)
    ->execute();
}