You are here

function lingotek_delete_target_sync_status_for_all_nodes in Lingotek Translation 7.2

When a new MT language is added, add a Target status tag to every node.

1 call to lingotek_delete_target_sync_status_for_all_nodes()
lingotek_delete_target_language in ./lingotek.util.inc
Flags a target language as active:FALSE in the Target Language tracking.

File

./lingotek.sync.inc, line 118
Content translation management and sync functions.

Code

function lingotek_delete_target_sync_status_for_all_nodes($lingotek_locale) {
  $key = 'target_sync_status_' . $lingotek_locale;
  db_delete('lingotek')
    ->condition('lingokey', $key)
    ->execute();
}