catchup_feed: add clause for feed_id -4

This commit is contained in:
Andrew Dolgov 2009-01-19 04:28:25 +01:00
parent 3ebd7ca5f3
commit 3584cb119e
1 changed files with 6 additions and 0 deletions

View File

@ -2218,6 +2218,12 @@
catchupArticlesById($link, $affected_ids, 0); 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 } else if ($feed < -10) { // label
$label_id = -$feed - 11; $label_id = -$feed - 11;