diff --git a/backend.php b/backend.php index 0a91a6412..fc91ed153 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 125dbad76..a986931f7 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);