]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove pref-rpc, obsolete
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 21 May 2006 02:22:58 +0000 (03:22 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 21 May 2006 02:22:58 +0000 (03:22 +0100)
backend.php

index 9fb06b605d1f6e5e91071a981e78e35ae3f639ae..3ff5e7e7fb1697ebcc19c232019c335277a8b326 100644 (file)
                print "</body></html>";
        }
 
-       if ($op == "pref-rpc") {
-
-               $subop = $_GET["subop"];
-
-               if ($subop == "unread") {
-                       $ids = split(",", db_escape_string($_GET["ids"]));
-                       foreach ($ids as $id) {
-                               db_query($link, "UPDATE ttrss_user_entries SET unread = true 
-                                       WHERE feed_id = '$id' AND owner_uid = ".$_SESSION["uid"]);
-                       }
-
-                       print "Marked selected feeds as unread.";
-               }
-
-               if ($subop == "read") {
-                       $ids = split(",", db_escape_string($_GET["ids"]));
-                       foreach ($ids as $id) {
-                               db_query($link, "UPDATE ttrss_user_entries 
-                                       SET unread = false,last_read = NOW() WHERE 
-                                               feed_id = '$id' AND owner_uid = ".$_SESSION["uid"]);
-                       }
-
-                       print "Marked selected feeds as read.";
-
-               }
-
-       }
-
        if ($op == "pref-feeds") {
        
                $subop = $_REQUEST["subop"];