You are here

function cumulus_clear_cache in Cumulus 7

Same name and namespace in other branches
  1. 6 cumulus.module \cumulus_clear_cache()

Clear the cache of all Cumulus (in effect, Tagadelic) data.

1 string reference to 'cumulus_clear_cache'
cumulus_admin_settings in ./cumulus.module
Implements hook_settings().

File

./cumulus.module, line 252
The brain of Cumulus.

Code

function cumulus_clear_cache() {
  $cid = "tagadelic";
  $table = "cache";
  $wildcard = TRUE;
  cache_clear_all($cid, $table, $wildcard);
  drupal_set_message(t('The module\'s cache has been cleared'), 'status');
}