You are here

function node_nodeapi in Spam 5.3

Drupal _nodeapi() hook.

File

modules/spam_node.inc, line 6

Code

function node_nodeapi(&$node, $op) {
  switch ($op) {
    case 'update':
      spam_content_update($node, 'node');
      break;
    case 'insert':
      spam_content_insert($node, 'node');
      break;
    case 'delete':
      spam_content_delete($node, 'node');
      break;
  }
}