From: Andrew Dolgov Date: Mon, 19 Jan 2009 03:28:25 +0000 (+0100) Subject: catchup_feed: add clause for feed_id -4 X-Git-Tag: 1.3.0~65 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3584cb119e8f42a63034688b0ccfb2eb8242b227;p=tt-rss.git catchup_feed: add clause for feed_id -4 --- 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;