You are here

function nodewords_update_6122 in Nodewords: D6 Meta Tags 6

Implements hook_update_N().

File

./nodewords.install, line 686
Installation file for nodewords.module.

Code

function nodewords_update_6122() {
  $ret = array();
  $ret[] = update_sql("UPDATE {nodewords_custom} SET weight = 10 WHERE weight > 10");
  $ret[] = update_sql("UPDATE {nodewords_custom} SET weight = -10 WHERE weight < -10");
  return $ret;
}