From dc32e54f31e2b1308d5a6813dd644477076ec48d Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 18 Nov 2004 21:28:34 +0000 Subject: Search.module: - Caching index statistics - Minor code cleanup --- modules/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 672b3bdb1..76270f76e 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1556,7 +1556,7 @@ function node_update_index() { // cannot be indexed (PHP nodes which call drupal_goto, for example). // In rare cases this can mean a node is only partially indexed, but the // chances of this happening are very small. - variable_set('node_cron_last', max($last_comment, max($node->changed, $node->created))); + variable_set('node_cron_last', max($last_comment, $node->changed, $node->created)); if (node_hook($node, 'view')) { node_invoke($node, 'view', false, false); -- cgit v1.2.3