You are here

function node_accessibility_node_delete in Node Accessibility 7

Same name and namespace in other branches
  1. 8 node_accessibility.module \node_accessibility_node_delete()

Implements hook_node_delete().

File

./node_accessibility.module, line 128
Module file for the node accessibility project.

Code

function node_accessibility_node_delete($node) {
  if (!is_object($node)) {
    if (class_exists('cf_error')) {
      cf_error::invalid_object('node');
    }
    return;
  }
  node_accessibility_delete_node_problems($node->nid, NULL);
}