You are here

function lingotek_lingonode_variable_delete in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.4 lingotek.util.inc \lingotek_lingonode_variable_delete()
1 call to lingotek_lingonode_variable_delete()
lingotek_notifications in ./lingotek.sync.inc
Registers the site translation notfication callback.

File

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

Code

function lingotek_lingonode_variable_delete($nid, $lingokey) {
  $query = db_delete('lingotek');
  $query
    ->condition('nid', $nid);
  $query
    ->condition('lingokey', $lingokey);
  $query
    ->execute();
}