function system_nodeapi

8.0.x search.drush.inc system_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)
6.x search.drush.inc system_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)
7.x search.drush.inc system_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)
5.x search.drush.inc system_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)
master search.drush.inc system_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL)

Fake an implementation of hook_nodeapi() for Drupal 6.

File

commands/core/search.drush.inc, line 201

Code

function system_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
  if ($op == 'update index') {
    // Verbose output.
    if (drush_get_context('DRUSH_VERBOSE')) {
      drush_log(dt('Indexing node !nid.', array('!nid' => $node->nid)), LogLevel::OK);
    }
  }
}