You are here

tagadelic.install in Tagadelic 7

Same filename and directory in other branches
  1. 5 tagadelic.install
  2. 6 tagadelic.install
  3. 7.2 tagadelic.install

Installation/updates for tagadelic.

File

tagadelic.install
View source
<?php

/**
 * @file
 * Installation/updates for tagadelic.
 */

/**
 * Clear cache.
 */
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;
}

Functions

Namesort descending Description
tagadelic_update_6100 Clear cache.