You are here

public static function LingotekConfigSet::removeLids in Lingotek Translation 7.7

1 call to LingotekConfigSet::removeLids()
lingotek_sync_upload_config_set in ./lingotek.batch.inc
Upload Batch Worker Function: Upload Config Set for Translation

File

lib/Drupal/lingotek/LingotekConfigSet.php, line 1008
Defines LingotekConfigSet.

Class

LingotekConfigSet
A class wrapper for Lingotek-specific behavior on ConfigSets.

Code

public static function removeLids($lids) {
  if (empty($lids)) {
    return;
  }
  $query = db_delete('lingotek_config_map')
    ->condition('lid', $lids, 'IN');
  $query
    ->execute();
}