You are here

function lingotek_update_6201 in Lingotek Translation 6

File

./lingotek.install, line 170
Installation for Lingotek Community Translation Module

Code

function lingotek_update_6201() {
  $result = db_query("SELECT n.nid FROM {lingotek} n WHERE n.lingokey = 'document_id'");
  while ($row = db_fetch_object($result)) {
    $node = node_load(array(
      'nid' => $row->nid,
    ));
    lingotek_node_update($node);
  }
  return array();
}