From: Andrew Dolgov Date: Sat, 17 Jan 2009 12:22:48 +0000 (+0100) Subject: block ccache updates in viewfeed when is_cat = 1 X-Git-Tag: 1.3.0~125 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1be2f3b6ec815a19f28d98b42795c860410ee083;p=tt-rss.git block ccache updates in viewfeed when is_cat = 1 --- 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);