timeout() now calls async feed update function

This commit is contained in:
Andrew Dolgov 2005-08-23 07:19:48 +01:00
parent 525116d484
commit 0194778147
2 changed files with 1 additions and 8 deletions

View File

@ -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");
}
}
}

View File

@ -259,7 +259,7 @@ function view(id,feed_id) {
function timeout() {
updateFeedList(true, true);
scheduleFeedUpdate();
setTimeout("timeout()", 1800*1000);