You are here

function similarterms_update_6200 in Similar By Terms 6.2

Same name and namespace in other branches
  1. 7.2 similarterms.install \similarterms_update_6200()

Implementation of hook_update().

File

./similarterms.install, line 7

Code

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

  // Intentially removed to prevent confusion.
  //   I don't want administrators to think that their settings have been converted.
  // only the 'ANY vocabulary' block is converted... without any settings:

  //$ret[] = update_sql("UPDATE {blocks} SET module='views', delta='similarterms-block_1' WHERE module='similarterms' AND delta=0");
  cache_clear_all('*', 'cache_block', TRUE);
  cache_clear_all('*', 'cache_views', true);
  return $ret;
}