You are here

function gmap_taxonomy_node_delete in GMap Module 7

Same name and namespace in other branches
  1. 7.2 gmap_taxonomy.module \gmap_taxonomy_node_delete()

Implement hook_node_delete().

File

./gmap_taxonomy.module, line 191
GMap Taxonomy Markers

Code

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