summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-11-18 21:28:34 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-11-18 21:28:34 +0000
commitdc32e54f31e2b1308d5a6813dd644477076ec48d (patch)
tree2fad26cc5a6c212c6355afd79d88e5d9dfb29aa1 /modules/node.module
parent90e67a3acb226d7d0f45ecd117c1fcfcbe4f0b24 (diff)
downloadbrdo-dc32e54f31e2b1308d5a6813dd644477076ec48d.tar.gz
brdo-dc32e54f31e2b1308d5a6813dd644477076ec48d.tar.bz2
Search.module:
- Caching index statistics - Minor code cleanup
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
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);