From 3833e4de9df8009b3b4072a835205375dcb67433 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Jul 2003 18:33:12 +0000 Subject: - Cache system improvements by Gerhard: removed some left-overs. --- modules/forum.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/forum.module') 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 .= "
". l(t("more"), "forum", array("title" => t("Read the latest forum topics."))) ."
"; } - 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); -- cgit v1.2.3