You are here

function lingotek_keystore_delete in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_keystore_delete()
  2. 7.6 lingotek.util.inc \lingotek_keystore_delete()
2 calls to lingotek_keystore_delete()
lingotek_entity_save in ./lingotek.module
lingotek_update_7502 in ./lingotek.install
Migrates comment profile settings

File

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

Code

function lingotek_keystore_delete($entity_type, $id, $key) {
  $query = db_delete('{lingotek_entity_metadata}');
  $query
    ->condition('entity_type', $entity_type);
  $query
    ->condition('entity_id', $id);
  $query
    ->condition('entity_key', $key);
  return $query
    ->execute();
}