You are here

function lingotek_keystore_delete_all_multiple in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_keystore_delete_all_multiple()
  2. 7.6 lingotek.util.inc \lingotek_keystore_delete_all_multiple()

File

./lingotek.util.inc, line 188
Utility functions.

Code

function lingotek_keystore_delete_all_multiple($entity_type, $ids) {
  db_delete('{lingotek_entity_metadata}')
    ->condition('entity_type', $entity_type)
    ->condition('entity_id', $ids, 'IN')
    ->execute();
}