From 019477814792d00ffda5e15e89bc1aca0520d972 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 23 Aug 2005 07:19:48 +0100 Subject: [PATCH] timeout() now calls async feed update function --- backend.php | 7 ------- tt-rss.js | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/backend.php b/backend.php index 0a91a641..fc91ed15 100644 --- a/backend.php +++ b/backend.php @@ -169,13 +169,6 @@ pg_query("UPDATE ttrss_entries SET unread = false,last_read = NOW() WHERE feed_id = '$feed'"); } - - if ($subop == "MarkPageRead") { - -// pg_query("UPDATE ttrss_entries SET unread = false -// WHERE feed_id = '$feed' ORDER BY updated OFFSET $skip LIMIT 1"); - } - } } diff --git a/tt-rss.js b/tt-rss.js index 125dbad7..a986931f 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -259,7 +259,7 @@ function view(id,feed_id) { function timeout() { - updateFeedList(true, true); + scheduleFeedUpdate(); setTimeout("timeout()", 1800*1000); -- 2.39.5