From: Andrew Dolgov Date: Tue, 23 Aug 2005 06:19:48 +0000 (+0100) Subject: timeout() now calls async feed update function X-Git-Tag: 20050823-1~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=019477814792d00ffda5e15e89bc1aca0520d972;p=tt-rss.git timeout() now calls async feed update function --- 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);