summaryrefslogtreecommitdiff
path: root/modules/queue.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-11-23 19:26:49 +0000
committerDries Buytaert <dries@buytaert.net>2001-11-23 19:26:49 +0000
commitad0401f80602bc595aa78bac1979f28200c719a2 (patch)
treea98a480de9f89587d3722b6f960f75baf3e1d07a /modules/queue.module
parentf5be5fdfa406db65aaf8c64050b7ed1971a44ec6 (diff)
downloadbrdo-ad0401f80602bc595aa78bac1979f28200c719a2.tar.gz
brdo-ad0401f80602bc595aa78bac1979f28200c719a2.tar.bz2
- improved the watchdog messages
Diffstat (limited to 'modules/queue.module')
-rw-r--r--modules/queue.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/queue.module b/modules/queue.module
index 763825123..33335d63a 100644
--- a/modules/queue.module
+++ b/modules/queue.module
@@ -49,16 +49,16 @@ function queue_vote($node, $vote) {
if (variable_get("queue_threshold_post", 3) <= $node->score) {
node_save($node, array_merge(array("nid", "moderate" => 0), module_invoke($node->type, "save", "approve", $node)));
- watchdog("special", "moderation: posted '$node->title'");
+ watchdog("special", "moderation: approved '$node->title'");
}
else if (variable_get("queue_threshold_dump", -2) >= $node->score) {
if ($node->revisions) {
node_revision_rollback($node, end(node_revision_list($node)));
- watchdog("special", "moderation: dumped '$node->title' (rollback)");
+ watchdog("special", "moderation: declined '$node->title' (rollback)");
}
else {
node_save($node, array_merge(array("nid", "moderate" => 0), module_invoke($node->type, "save", "decline", $node)));
- watchdog("special", "moderation: dumped '$node->title'");
+ watchdog("special", "moderation: declined '$node->title'");
}
}
else if (variable_get("queue_threshold_expire", 6) <= $node->votes) {