You are here

function autotag_update_6101 in Taxonomy Autotagger 6.2

File

./autotag.install, line 38

Code

function autotag_update_6101() {
  $result = array();
  $taxonomy_weight = array_pop(db_fetch_array(db_query("SELECT weight FROM {system} WHERE name='taxonomy'")));
  $result[] = update_sql("UPDATE {system} SET weight=%d WHERE name='autotag'", $taxonomy_weight + 10);
  return $result;
}