public static function LingotekSync::deleteTargetEntriesForAllNodes in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllNodes()
1 call to LingotekSync::deleteTargetEntriesForAllNodes()
- LingotekSync::deleteTargetEntriesForAllDocs in lib/
Drupal/ lingotek/ LingotekSync.php
File
- lib/
Drupal/ lingotek/ LingotekSync.php, line 126 - LingotekSync
Class
- LingotekSync
- A utility class for Lingotek Syncing.
Code
public static function deleteTargetEntriesForAllNodes($lingotek_locale) {
$key = 'target_sync_status_' . $lingotek_locale;
db_delete('lingotek')
->condition('lingokey', $key)
->execute();
}