From 63d334ade5f6a835193c0a315e4ebe146aea9b7b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 31 Mar 2001 19:24:24 +0000 Subject: [PATCH] - tidied up the watchdog messages --- modules/moderation.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/moderation.module b/modules/moderation.module index 1faf9542d7d..5afbf009cc4 100644 --- a/modules/moderation.module +++ b/modules/moderation.module @@ -34,15 +34,15 @@ function moderation_vote($id, $vote) { if ($node = node_get_object(nid, $id)) { if (node_post_threshold($node) <= $node->score) { node_save(array(nid => $id, pid => $node->pid, type => $node->type, status => $status[posted])); - watchdog("message", "posted node '$node->title'"); + watchdog("message", "node: posted '$node->title' - moderation"); } else if (node_dump_threshold($node) >= $node->score) { node_save(array(nid => $id, pid => $node->pid, type => $node->type, status => $status[dumped])); - watchdog("message", "dumped node '$node->title'"); + watchdog("message", "node: dumped '$node->title' - moderation"); } else if (node_timout_threshold($node) <= $node->votes) { node_save(array(nid => $id, pid => $node->pid, type => $node->type, status => $status[expired])); - watchdog("message", "expired node '$node->title'"); + watchdog("message", "node: expired '$node->title' - moderation"); } } }