diff options
author | Andrew Dolgov <[email protected]> | 2013-02-26 22:49:46 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-26 22:49:46 +0400 |
commit | 1bad74ea7cfb9c8f2c97460187cabe7400b626c0 (patch) | |
tree | 9d8c4e578242766acf0396cb5c247c098c0d3c4f /classes/feeds.php | |
parent | be17885789fdf35b40e040d80c50077652069dc1 (diff) |
change various catchup stuff to only affect unread articles
Diffstat (limited to 'classes/feeds.php')
-rw-r--r-- | classes/feeds.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index fed960565..a2e19d580 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -745,7 +745,7 @@ class Feeds extends Handler_Protected { function catchupAll() { db_query($this->link, "UPDATE ttrss_user_entries SET - last_read = NOW(),unread = false WHERE owner_uid = " . $_SESSION["uid"]); + last_read = NOW(), unread = false WHERE unread = true AND owner_uid = " . $_SESSION["uid"]); ccache_zero_all($this->link, $_SESSION["uid"]); } |