You are here

function glossary_clearcache in Glossary 7

Same name and namespace in other branches
  1. 5.2 glossary.module \glossary_clearcache()
  2. 5 glossary.module \glossary_clearcache()
  3. 6 glossary.module \glossary_clearcache()

Menu call back for link on settings page.

File

./glossary.module, line 1262
Glossary terms will be automatically marked with links to their descriptions.

Code

function glossary_clearcache() {
  cache_clear_all('*', 'cache_filter', TRUE);
  drupal_set_message(t('Cache_filter cleared.'));
  drupal_goto('/glossary');
}