You are here

function pathauto_node_delete in Pathauto 7

Implements hook_node_delete().

File

./pathauto.module, line 705
Main file for the Pathauto module, which automatically generates aliases for content.

Code

function pathauto_node_delete($node) {
  pathauto_entity_path_delete_all('node', $node, "node/{$node->nid}");
}