function autotag_update_6104 in Taxonomy Autotagger 6.2
File
- ./
autotag.install, line 60
Code
function autotag_update_6104() {
$result = array();
$field_group_weight = array_pop(db_fetch_array(db_query("SELECT weight+1 FROM {system} WHERE name = 'fieldgroup'")));
// $field_group_weight is guaranteed to be clean, so this is OK!
$result[] = update_sql("UPDATE {system} SET weight = {$field_group_weight} WHERE name = 'autotag'");
return $result;
}