You are here

function spaces_taxonomy_taxonomy_term_delete in Spaces 7

Same name and namespace in other branches
  1. 7.3 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_taxonomy_term_delete()

Implements hook_taxonomy_term_delete().

File

spaces_taxonomy/spaces_taxonomy.module, line 209
spaces_taxonomy.module

Code

function spaces_taxonomy_taxonomy_term_delete($term) {
  spaces_delete('taxonomy', $term->tid);
  $modifier = array(
    'provider' => 'spaces_taxonomy',
    'id' => $term->tid,
  );
  purl_delete($modifier);
}