summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-11-17 06:42:52 +0000
committerDries Buytaert <dries@buytaert.net>2002-11-17 06:42:52 +0000
commit9e32c2e9606079e72c58075d9167634dcfc65a01 (patch)
treeba24bf55130fcc3ec59562b35b764bc9e73d4e8e /modules/node.module
parent64f8781f789912751849c506a9a412ed27ddd0db (diff)
downloadbrdo-9e32c2e9606079e72c58075d9167634dcfc65a01.tar.gz
brdo-9e32c2e9606079e72c58075d9167634dcfc65a01.tar.bz2
Patch based on work of Kjartan:
- Changed cache API. - Fixed caching bug in comment.module. Odd this hasn't been reported yet. - Fixed caching bug in forum.module. - Fixed caching bug in system.module. - Fixed caching bug in block.module. - Simplified caching support in forum.module thanks to improved cache API.
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/node.module b/modules/node.module
index 9424b3ac0..f086eaa0e 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -209,6 +209,13 @@ function node_save($node, $filter) {
}
/*
+ ** Clear the cache so an anonymous poster can see the node being added
+ ** or updated.
+ */
+
+ cache_clear_all();
+
+ /*
** Return the node ID:
*/