You are here

function vote_storylink_delete in Vote Up/Down 5

Implementation of hook_delete().

File

./vote_storylink.module, line 230

Code

function vote_storylink_delete(&$node) {

  // Delete the values from a node that is being erased
  // Don't care if it's "supposed" to have links -- delete if found anyway
  vote_storylink_node_build($node);
  links_delete_links_for_node($node, 'vote_storylink');
}