]> git.wh0rd.org Git - tt-rss.git/commitdiff
made catchupAll uid-aware
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 09:28:27 +0000 (10:28 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 09:28:27 +0000 (10:28 +0100)
backend.php

index 1cfab2ab1b8cd410ebd82070b84a8ff6f29d312d..9078a2043682cd6facb1705b33f0864ba88f499c 100644 (file)
                $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);