From 3584cb119e8f42a63034688b0ccfb2eb8242b227 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 19 Jan 2009 04:28:25 +0100 Subject: [PATCH] catchup_feed: add clause for feed_id -4 --- functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions.php b/functions.php index fcff2414..e1990d72 100644 --- a/functions.php +++ b/functions.php @@ -2218,6 +2218,12 @@ catchupArticlesById($link, $affected_ids, 0); } + if ($feed == -4) { + db_query($link, "UPDATE ttrss_user_entries + SET unread = false,last_read = NOW() + WHERE owner_uid = ".$_SESSION["uid"]); + } + } else if ($feed < -10) { // label $label_id = -$feed - 11; -- 2.39.5