You are here

function node_accessibility_node_revision_delete in Node Accessibility 7

Implements hook_node_revision_delete().

File

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

Code

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