diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-11-04 23:30:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-11-04 23:30:39 +0000 |
commit | f88cfaa2dd205846843068175931e68c582bb037 (patch) | |
tree | d0a84e2bd55b49e5ad25f0c87ab8730ca3a701f3 /includes | |
parent | 4af6c9d2dc8b7360faf2fd18c7d39d179d69da57 (diff) | |
download | brdo-f88cfaa2dd205846843068175931e68c582bb037.tar.gz brdo-f88cfaa2dd205846843068175931e68c582bb037.tar.bz2 |
- 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.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/node.inc | 10 |
1 files changed, 6 insertions, 4 deletions
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); } } |