summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-23 07:19:48 +0100
committerAndrew Dolgov <[email protected]>2005-08-23 07:19:48 +0100
commit019477814792d00ffda5e15e89bc1aca0520d972 (patch)
treeab693a2efe116c28a8605ff40db852c3587ddbd2
parent525116d484a7a2589fc8ad891af3e14ff07a3724 (diff)
timeout() now calls async feed update function
-rw-r--r--backend.php7
-rw-r--r--tt-rss.js2
2 files changed, 1 insertions, 8 deletions
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);