From ae5136e51b87b414c737f4726c367c18db79fc49 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 15 Feb 2004 16:33:33 +0000 Subject: - Patch #5111 by Bart: fixed inconsistent default values. --- modules/queue.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/queue.module') diff --git a/modules/queue.module b/modules/queue.module index e2b3aef52..374cece6e 100644 --- a/modules/queue.module +++ b/modules/queue.module @@ -68,7 +68,7 @@ function queue_vote($node, $vote) { $node->taxonomy[] = $term->tid; } - if (variable_get("queue_threshold_post", 3) <= $node->score) { + if (variable_get("queue_threshold_post", 4) <= $node->score) { $node->moderate = 0; $node->promote = 1; node_save($node); @@ -86,7 +86,7 @@ function queue_vote($node, $vote) { watchdog("special", "moderation: declined '$node->title'"); } } - else if (variable_get("queue_threshold_expire", 6) <= $node->votes) { + else if (variable_get("queue_threshold_expire", 8) <= $node->votes) { if ($node->revisions) { node_revision_rollback($node, end(node_revision_list($node))); watchdog("special", "moderation: expired '$node->title' (rollback)"); -- cgit v1.2.3