You are here

function lingotek_update_7208 in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7208()
  2. 7.3 lingotek.install \lingotek_update_7208()
  3. 7.4 lingotek.install \lingotek_update_7208()
  4. 7.5 lingotek.install \lingotek_update_7208()
  5. 7.6 lingotek.install \lingotek_update_7208()

Update lingokey name from 'document_id_xx' to 'document_id'

File

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

Code

function lingotek_update_7208(&$sandbox) {
  $ret = array();
  db_query("UPDATE {lingotek} SET lingokey = 'document_id' WHERE lingokey LIKE 'document_id_%'");
  return $ret;
}