]> git.wh0rd.org Git - tt-rss.git/commitdiff
mark articles with score less than -500 as read on import
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 02:32:43 +0000 (03:32 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 02:32:43 +0000 (03:32 +0100)
functions.php

index 6e6903d17c8cea81864f076c3e00a05c4399d002..9f3505f933d421a95f56967f67544fd6c4e85ba5 100644 (file)
                                                        _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 {