1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 21:45:56 +00:00

implement catchup for labels vfeed

This commit is contained in:
Andrew Dolgov
2009-02-12 15:01:42 +03:00
parent 9c0562454b
commit 6f69764ccf

View File

@@ -2144,7 +2144,11 @@
}
} else if ($feed == -2) {
/* FIXME catchup for all labels vfeed */
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
AND unread = true AND owner_uid = " . $_SESSION["uid"]);
}
} else if ($feed > 0) {