From 9e32c2e9606079e72c58075d9167634dcfc65a01 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 17 Nov 2002 06:42:52 +0000 Subject: 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. --- modules/node.module | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 9424b3ac0..f086eaa0e 100644 --- a/modules/node.module +++ b/modules/node.module @@ -208,6 +208,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: */ -- cgit v1.2.3