diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-15 16:33:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-15 16:33:33 +0000 |
commit | ae5136e51b87b414c737f4726c367c18db79fc49 (patch) | |
tree | 40d82ef1e8ac9af35930ef33f1294de23a837e02 /modules/queue.module | |
parent | 350cbdd3cce17bc7305c7a4c401d364f02c30df8 (diff) | |
download | brdo-ae5136e51b87b414c737f4726c367c18db79fc49.tar.gz brdo-ae5136e51b87b414c737f4726c367c18db79fc49.tar.bz2 |
- Patch #5111 by Bart: fixed inconsistent default values.
Diffstat (limited to 'modules/queue.module')
-rw-r--r-- | modules/queue.module | 4 |
1 files changed, 2 insertions, 2 deletions
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)"); |