You are here

function lingotek_keystore_delete_all in Lingotek Translation 7.6

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

File

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

Code

function lingotek_keystore_delete_all($entity_type, $id) {
  db_delete('lingotek_entity_metadata')
    ->condition('entity_type', $entity_type)
    ->condition('entity_id', $id)
    ->execute();
}