summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-19 04:28:25 +0100
committerAndrew Dolgov <[email protected]>2009-01-19 04:28:25 +0100
commit3584cb119e8f42a63034688b0ccfb2eb8242b227 (patch)
tree88be8da0f2c5b81445db788c3080baedc4b509cd /functions.php
parent3ebd7ca5f35a0a00953a7dd1dddb889761e26289 (diff)
catchup_feed: add clause for feed_id -4
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index fcff24146..e1990d723 100644
--- a/functions.php
+++ b/functions.php
@@ -2218,6 +2218,12 @@
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;