From af6c89705649abf6d1f239cd3429d8c174800ba1 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Mon, 12 Jun 2006 03:44:54 +0000 Subject: #65024 by killes, remove an extra condition. --- modules/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum.module') diff --git a/modules/forum.module b/modules/forum.module index 9335271c4..d305b914c 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -370,7 +370,7 @@ function forum_validate($node) { * Implementation of hook_update(). */ function forum_update($node) { - if ($node->is_new || $node->revision) { + if ($node->revision) { db_query("INSERT INTO {forum} (nid, vid, tid) VALUES (%d, %d, %d)", $node->nid, $node->vid, $node->tid); } else { -- cgit v1.2.3