function classified_taxonomy in Classified Ads 6.3
Same name and namespace in other branches
- 7.3 classified.module \classified_taxonomy()
Implements hook_taxonomy().
Used to invalidate our cache when anything changes within our vocabulary.
File
- ./
classified.module, line 1435 - A pure D6 classified ads module inspired by the ed_classified module.
Code
function classified_taxonomy($op, $type, $array = NULL) {
$vid = _classified_get('vid');
if (array_key_exists('vid', $array) && $array['vid'] == $vid) {
cache_clear_all('classified:overview', 'cache');
}
}