You are here

function attachment_links_node_delete in Attachment Links 7

Implements hook_node_delete().

File

./attachment_links.module, line 80

Code

function attachment_links_node_delete($node) {

  // Delete all aliases associated with this node attachment.
  path_delete(array(
    'source' => 'node/' . $node->nid . '/attachment',
  ));
}