diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-27 18:06:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-27 18:06:36 +0000 |
commit | 124694ee4dbcc1df5dfc2d419ed2393619883071 (patch) | |
tree | 907a5fb1f31991f338a9bef2f4af8dbde515f5c2 /modules/node/node.module | |
parent | df30ccb06109a7bcd9a4d830aba696a79f1511b4 (diff) | |
download | brdo-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.module | 4 |
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) { |