mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-09 05:42:13 +00:00
implement automatic precaching for next normal and unread feeds
allow opening cached next_unread_feed on f-q if available tweak getRelativeArticles() to scan forward only reenable prefetch_old server requests
This commit is contained in:
@@ -2494,8 +2494,9 @@
|
||||
|
||||
if (!$owner_uid) $owner_uid = $_SESSION['uid'];
|
||||
|
||||
if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
|
||||
//if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
|
||||
|
||||
if (is_numeric($feed)) {
|
||||
if ($cat_view) {
|
||||
|
||||
if ($feed >= 0) {
|
||||
@@ -2519,7 +2520,6 @@
|
||||
}
|
||||
} else if ($feed == -2) {
|
||||
|
||||
|
||||
db_query($link, "UPDATE ttrss_user_entries
|
||||
SET unread = false,last_read = NOW() WHERE (SELECT COUNT(*)
|
||||
FROM ttrss_user_labels2 WHERE article_id = ref_id) > 0
|
||||
|
||||
Reference in New Issue
Block a user