From: Andrew Dolgov Date: Fri, 18 Nov 2005 09:28:27 +0000 (+0100) Subject: made catchupAll uid-aware X-Git-Tag: schema_feature_freeze_for_1.1~222 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6d15e1ef30c4a4e4dea74e788fb12a4150708675;p=tt-rss.git made catchupAll uid-aware --- diff --git a/backend.php b/backend.php index 1cfab2ab..9078a204 100644 --- a/backend.php +++ b/backend.php @@ -410,7 +410,8 @@ $subop = $_GET["subop"]; if ($subop == "catchupAll") { - db_query($link, "UPDATE ttrss_entries SET last_read = NOW(),unread = false"); + db_query($link, "UPDATE ttrss_entries SET + last_read = NOW(),unread = false WHERE owner_uid = " . $_SESSION["uid"]); } outputFeedList($link, $tags);