function fuzzysearch_comment in Fuzzy Search 6
Implementation of hook_comment().
File
- ./
fuzzysearch.module, line 433 - Module file for fuzzysearch module.
Code
function fuzzysearch_comment($a1, $op) {
switch ($op) {
// Reindex the node when comments are added or changed
case 'insert':
case 'update':
case 'delete':
case 'publish':
case 'unpublish':
fuzzysearch_reindex(is_array($a1) ? $a1['nid'] : $a1->nid, 'fuzzysearch');
break;
}
}