summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-27 18:06:36 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-27 18:06:36 +0000
commit124694ee4dbcc1df5dfc2d419ed2393619883071 (patch)
tree907a5fb1f31991f338a9bef2f4af8dbde515f5c2 /modules/node/node.module
parentdf30ccb06109a7bcd9a4d830aba696a79f1511b4 (diff)
downloadbrdo-124694ee4dbcc1df5dfc2d419ed2393619883071.tar.gz
brdo-124694ee4dbcc1df5dfc2d419ed2393619883071.tar.bz2
- Fixed bug node.module bug:
+ the node scheduler did not un-schedule a node! - Fixed comment bugs (as a result of the formification): + no signatures where being attached to the comments. + check_input was used where is should have been check_output, with broken filters as the immediate result.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 92bf70690..7bc148177 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -65,8 +65,8 @@ function node_filter($text) {
function node_cron() {
db_query("UPDATE node SET status = '". node_status("posted") ."', timestamp_posted = '' WHERE timestamp_posted > 0 AND timestamp_posted < ". time());
- db_query("UPDATE node SET status = '". node_status("queued") ."', timestamp_posted = '' WHERE timestamp_queued > 0 AND timestamp_queued < ". time());
- db_query("UPDATE node SET status = '". node_status("dumped") ."', timestamp_posted = '' WHERE timestamp_hidden > 0 AND timestamp_hidden < ". time());
+ db_query("UPDATE node SET status = '". node_status("queued") ."', timestamp_queued = '' WHERE timestamp_queued > 0 AND timestamp_queued < ". time());
+ db_query("UPDATE node SET status = '". node_status("dumped") ."', timestamp_hidden = '' WHERE timestamp_hidden > 0 AND timestamp_hidden < ". time());
}
function node_link($nid, $type) {