From: Andrew Dolgov Date: Sat, 17 May 2008 02:32:43 +0000 (+0100) Subject: mark articles with score less than -500 as read on import X-Git-Tag: 1.2.23-final~110 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=24605713bbfb78eeae3760df1b1ca8a69a1262ac;p=tt-rss.git mark articles with score less than -500 as read on import --- diff --git a/functions.php b/functions.php index 6e6903d1..9f3505f9 100644 --- a/functions.php +++ b/functions.php @@ -1156,7 +1156,7 @@ _debug("update_rss_feed: user record not found, creating..."); } - if (!find_article_filter($article_filters, 'catchup')) { + if ($score >= -500 && !find_article_filter($article_filters, 'catchup')) { $unread = 'true'; $last_read_qpart = 'NULL'; } else {