You are here

function globallink_entity_delete in GlobalLink Connect for Drupal 7.7

File

./globallink.module, line 1891
GlobalLink translation module.

Code

function globallink_entity_delete($node, $type) {
  if ($type == 'fieldable_panels_pane' && isset($_SESSION['fpids'])) {
    unset($_SESSION['fpids'][$node->fpid]);
  }
  if ($type == 'taxonomy_term' && isset($_SESSION['tids'])) {
    unset($_SESSION['tids'][$node->tid]);
  }
}