summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-16 16:02:47 +0100
committerAndrew Dolgov <[email protected]>2009-01-16 16:02:47 +0100
commit0737b95a56476b79427b613b50ec4979410244bc (patch)
tree7869e1321c2323fbf0568218e8e89795301346d3 /backend.php
parent73241803c7c5975b00eba91b08a5071d341af0c6 (diff)
support for ccache updates in catchupArticlesById()
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 125968515..71a952258 100644
--- a/backend.php
+++ b/backend.php
@@ -270,6 +270,8 @@
$csync = $_GET["csync"];
$order_by = db_escape_string($_GET["order_by"]);
+ ccache_update($link, $feed, $_SESSION["uid"]);
+
set_pref($link, "_DEFAULT_VIEW_MODE", $view_mode);
set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit);
set_pref($link, "_DEFAULT_VIEW_ORDER_BY", $order_by);
@@ -322,7 +324,7 @@
print "<headlines-count value=\"$headlines_count\"/>";
print "<vgroup-last-feed value=\"$vgroup_last_feed\"/>";
- $headlines_unread = getFeedUnread($link, $returned_feed);
+ $headlines_unread = ccache_find($link, $returned_feed, $_SESSION["uid"]);
print "<headlines-unread value=\"$headlines_unread\"/>";
printf("<disable-cache value=\"%d\"/>", $disable_cache);