From f88cfaa2dd205846843068175931e68c582bb037 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 4 Nov 2001 23:30:39 +0000 Subject: - Another batch of updates. The most important bit is that the moderation queue should be functional again. It's not ready yet but I'll be tuning it for the next two evenings or so. --- includes/node.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'includes/node.inc') diff --git a/includes/node.inc b/includes/node.inc index d7499253e..b602e2afc 100644 --- a/includes/node.inc +++ b/includes/node.inc @@ -123,7 +123,7 @@ function node_load($conditions) { function node_save($node, $filter) { - $fields = array("nid", "uid", "type", "title", "teaser", "body", "revisions", "status", "comment", "promote", "moderate", "created", "changed"); + $fields = array("nid", "uid", "type", "title", "teaser", "body", "revisions", "score", "status", "comment", "promote", "moderate", "created", "changed", "users", "votes"); foreach ($filter as $key => $value) { /* @@ -186,8 +186,6 @@ function node_save($node, $filter) { // call the node specific callback (if any): module_invoke($node->type, "insert", $node); - - watchdog("special", "node: added '$node->title'"); } else { @@ -211,7 +209,6 @@ function node_save($node, $filter) { // call the node specific callback (if any): module_invoke($node->type, "update", $node); - watchdog("special", "node: updated '$node->title'"); } /* @@ -238,6 +235,11 @@ function node_view($node, $main = 0) { node_invoke($node, "view", $main); } else { + + /* + ** Default behavior: + */ + $theme->node($node, $main); } } -- cgit v1.2.3