function translation_node_delete

Implements hook_node_delete().

File

drupal/modules/translation/translation.module, line 417
Manages content translations.

Code

function translation_node_delete($node) {

  // Only act if we are dealing with a content type supporting translations.
  if (translation_supported_type($node->type)) {
    translation_remove_from_set($node);
  }
}