summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
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;