You are here

function auto_index_comment in Auto Index 6

File

./auto_index.module, line 31
Auto-index: Automatically indexes node content on update.

Code

function auto_index_comment($a1, $op) {
  switch ($op) {

    // Reindex the node when comments are added or changed
    case 'insert':
    case 'update':
    case 'delete':
    case 'publish':
    case 'unpublish':
      _auto_index_index_node($a1);
      break;
  }
}