]> git.wh0rd.org Git - tt-rss.git/commitdiff
catchup_feed: add clause for feed_id -4
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 03:28:25 +0000 (04:28 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 19 Jan 2009 03:28:25 +0000 (04:28 +0100)
functions.php

index fcff241467c069f649d3565c9b0992594fc3f038..e1990d723dba69afd6a8ce7fa9bef9d6342f297d 100644 (file)
                                                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;