You are here

function classified_taxonomy in Classified Ads 7.3

Same name and namespace in other branches
  1. 6.3 classified.module \classified_taxonomy()

Used to invalidate our cache when anything changes within our vocabulary.

See classified_taxonomy_(term|vocabulary)_(delete|insert|update)

6 calls to classified_taxonomy()
classified_taxonomy_term_delete in ./classified.module
Implements hook_taxonomy_term_delete().
classified_taxonomy_term_insert in ./classified.module
Implements hook_taxonomy_term_insert().
classified_taxonomy_term_update in ./classified.module
Implements hook_taxonomy_term_update().
classified_taxonomy_vocabulary_delete in ./classified.module
Implements hook_taxonomy_vocabulary_delete().
classified_taxonomy_vocabulary_insert in ./classified.module
Implements hook_taxonomy_vocabulary_insert().

... See full list

File

./classified.module, line 1524
A pure D7 classified ads module inspired by the ed_classified module.

Code

function classified_taxonomy($vid) {
  $classified_vid = _classified_get('vid');
  if ($classified_vid == $vid) {
    cache_clear_all('classified:overview', 'cache');
  }
}