You are here

similarterms.install in Similar By Terms 6.2

File

similarterms.install
View source
<?php

/**
 * Implementation of hook_update().
 */
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;
}

Functions

Namesort descending Description
similarterms_update_6200 Implementation of hook_update().