summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-23 14:49:31 +0100
committerAndrew Dolgov <[email protected]>2009-01-23 14:49:31 +0100
commit5c432ba490b05c336ae1af9bafee9a6badfbfd99 (patch)
tree2101d9fa1b87827ebb34f358825ca558b2bd1bc8 /backend.php
parent307d187c6ca4fd31523ef9b9d0b483021126328c (diff)
ccache: skip non-numeric feeds (e.g. tags)
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend.php b/backend.php
index a2a87cafd..4343f0097 100644
--- a/backend.php
+++ b/backend.php
@@ -275,12 +275,12 @@
/* Updating a label ccache means recalculating all of the caches
* so for performance reasons we don't do that here */
- if (time() - $_SESSION["viewfeed:ccache_update_stamp"] > 120) {
+// if (time() - $_SESSION["viewfeed:ccache_update_stamp"] > 120) {
if ($feed >= 0) {
ccache_update($link, $feed, $_SESSION["uid"], $cat_view);
}
$_SESSION["viewfeed:ccache_update_stamp"] = time();
- }
+// }
set_pref($link, "_DEFAULT_VIEW_MODE", $view_mode);
set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit);