You are here

function rate_expiration_node_delete in Rate 7

Implements hook_node_delete().

File

expiration/rate_expiration.module, line 282

Code

function rate_expiration_node_delete($node) {
  db_delete('rate_expiration')
    ->condition('nid', $node->nid)
    ->execute();
}