You are here

function hs_taxonomy_install in Hierarchical Select 6.3

Implementation of hook_install().

File

modules/hs_taxonomy.install, line 12
Install file for the Hierarchical Select Taxonomy module.

Code

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

  // Update the module weight to -1 so it runs before other taxonomy related
  // modules. See http://drupal.org/node/601500.
  $ret[] = update_sql("UPDATE {system} SET weight = -1 WHERE name = 'hs_taxonomy'");
  return $ret;
}