From 1be2f3b6ec815a19f28d98b42795c860410ee083 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 Jan 2009 13:22:48 +0100 Subject: [PATCH] block ccache updates in viewfeed when is_cat = 1 --- backend.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend.php b/backend.php index 028ca2ad..28a3eba2 100644 --- a/backend.php +++ b/backend.php @@ -270,7 +270,9 @@ $csync = $_GET["csync"]; $order_by = db_escape_string($_GET["order_by"]); - ccache_update($link, $feed, $_SESSION["uid"], $cat_view); + if (!$cat_view) { + ccache_update($link, $feed, $_SESSION["uid"], $cat_view); + } set_pref($link, "_DEFAULT_VIEW_MODE", $view_mode); set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit); -- 2.39.5