diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-31 19:24:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-31 19:24:24 +0000 |
commit | 63d334ade5f6a835193c0a315e4ebe146aea9b7b (patch) | |
tree | cb537bc9a46edddc714781668315b71d740edad1 /modules | |
parent | 32ff43a48c4cfae2c794dafda852fff0dc7a589b (diff) | |
download | brdo-63d334ade5f6a835193c0a315e4ebe146aea9b7b.tar.gz brdo-63d334ade5f6a835193c0a315e4ebe146aea9b7b.tar.bz2 |
- tidied up the watchdog messages
Diffstat (limited to 'modules')
-rw-r--r-- | modules/moderation.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/moderation.module b/modules/moderation.module index 1faf9542d..5afbf009c 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"); } } } |