diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-07-23 18:33:12 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-07-23 18:33:12 +0000 |
commit | 3833e4de9df8009b3b4072a835205375dcb67433 (patch) | |
tree | ce945a5725e9d1af82c595fa0f0fe795248b6e56 /modules/forum.module | |
parent | 81ea70d101557e901bcad4bd1eb91385ab1b7096 (diff) | |
download | brdo-3833e4de9df8009b3b4072a835205375dcb67433.tar.gz brdo-3833e4de9df8009b3b4072a835205375dcb67433.tar.bz2 |
- Cache system improvements by Gerhard: removed some left-overs.
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum.module b/modules/forum.module index 6dd7af988..01574b4ff 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -95,7 +95,7 @@ function forum_block($op = "list", $delta = 0) { $content .= "<div id=\"forum_more\" style=\"text-align: right;\">". l(t("more"), "forum", array("title" => t("Read the latest forum topics."))) ."</div>"; } - cache_set("forum:block", $content, time() + variable_get("cache_clear", 120)); + cache_set("forum:block", $content, 1); } else { $content = $cache->data; @@ -321,7 +321,7 @@ function forum_get_forums($tid = 0) { $n++; } - cache_set("forum:$tid", serialize($forums), time() + variable_get("cache_clear", 120)); + cache_set("forum:$tid", serialize($forums), 1); } else { $forums = unserialize($cache->data); |