You are here

public static function LingotekSync::deleteTargetEntriesForAllChunks in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllChunks()
  2. 7.3 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllChunks()
  3. 7.4 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllChunks()
  4. 7.5 lib/Drupal/lingotek/LingotekSync.php \LingotekSync::deleteTargetEntriesForAllChunks()
1 call to LingotekSync::deleteTargetEntriesForAllChunks()
LingotekSync::deleteTargetEntriesForAllDocs in lib/Drupal/lingotek/LingotekSync.php

File

lib/Drupal/lingotek/LingotekSync.php, line 136
LingotekSync

Class

LingotekSync
A utility class for Lingotek Syncing.

Code

public static function deleteTargetEntriesForAllChunks($lingotek_locale) {
  $key = 'target_sync_status_' . $lingotek_locale;
  db_delete('lingotek_config_metadata')
    ->condition('config_key', $key)
    ->execute();
}