function document_taxonomy_term_presave in Document 7
Same name and namespace in other branches
- 8.x document.module \document_taxonomy_term_presave()
Implementation of hook_taxonomy().
File
- ./
document.module, line 42
Code
function document_taxonomy_term_presave($term) {
//TODO: Clear cache only if Document vocabulary or its terms are affected.
cache_clear_all('document_types', 'cache');
}