You are here

function tagadelic_update_6100 in Tagadelic 6

Same name and namespace in other branches
  1. 7 tagadelic.install \tagadelic_update_6100()

Clear cache.

File

./tagadelic.install, line 11
Installation/updates for tagadelic.

Code

function tagadelic_update_6100() {
  $ret = array();

  // We want to remove cache entries that were added as CACHE_PERMANENT. The
  // cid's depend on the taxonomies involved but we can just remove anything
  // with a cid prefixed tagadelic_cache_
  $ret[] = update_sql("DELETE FROM {cache} WHERE cid LIKE 'tagadelic_cache_%'");
  return $ret;
}