function nodewords_update_6303 in Nodewords: D6 Meta Tags 6.3
Implements hook_update_N().
File
- ./
nodewords.install, line 247 - Install, update and uninstall functions for the Nodewords module.
Code
function nodewords_update_6303() {
$ret = array();
drupal_load('module', 'nodewords');
$ret[] = update_sql("UPDATE {nodewords} nw SET nw.sid = (SELECT n.vid FROM {node} n WHERE n.nid = nw.id) WHERE type = " . NODEWORDS_TYPE_NODE);
return $ret;
}