You are here

function lingotek_update_7602 in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7602()

Change node_sync_status to upload_status in lingotek-specific metadata tables

File

./lingotek.install, line 934

Code

function lingotek_update_7602(&$sandbox) {
  $num_updated = db_update('lingotek_entity_metadata')
    ->fields(array(
    'entity_key' => 'upload_status',
  ))
    ->condition('entity_key', 'node_sync_status')
    ->execute();
  return t('Changed the name of the node_sync_status variable in the Lingotek entity metadata table to be upload_status (@num_updated rows affected).', array(
    '@num_updated' => $num_updated,
  ));
}