summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-17 13:22:48 +0100
committerAndrew Dolgov <[email protected]>2009-01-17 13:22:48 +0100
commit1be2f3b6ec815a19f28d98b42795c860410ee083 (patch)
tree0893d1483b4713a22aaa2b1a9924f0467e742f1f /backend.php
parent6c2a9b9ef76ac7bd592f747dc190025a6fdef0ea (diff)
block ccache updates in viewfeed when is_cat = 1
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 028ca2ad0..28a3eba26 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);