diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-11-17 06:42:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-11-17 06:42:52 +0000 |
commit | 9e32c2e9606079e72c58075d9167634dcfc65a01 (patch) | |
tree | ba24bf55130fcc3ec59562b35b764bc9e73d4e8e /modules/node/node.module | |
parent | 64f8781f789912751849c506a9a412ed27ddd0db (diff) | |
download | brdo-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/node.module')
-rw-r--r-- | modules/node/node.module | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 9424b3ac0..f086eaa0e 100644 --- a/modules/node/node.module +++ b/modules/node/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: */ |