]> git.wh0rd.org Git - tt-rss.git/commitdiff
timeout() now calls async feed update function
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 23 Aug 2005 06:19:48 +0000 (07:19 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 23 Aug 2005 06:19:48 +0000 (07:19 +0100)
backend.php
tt-rss.js

index 0a91a641229e8c2a8075492fd797ecc8b38e6521..fc91ed1535fc905cf8e85fdcd2f86d1d437e12a5 100644 (file)
                                        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");
-                               }
-
                        }
                }
 
index 125dbad7668b30a6c2d7ddce86240ac643b7266e..a986931f7bb5b009bd3cda826fbfa1418c1428c3 100644 (file)
--- 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);