From: Andrew Dolgov Date: Sun, 21 May 2006 02:22:58 +0000 (+0100) Subject: remove pref-rpc, obsolete X-Git-Tag: 1.2.0~48 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ea0e4caf8080e9f285f10f277eb7d42998b10d1a;p=tt-rss.git remove pref-rpc, obsolete --- diff --git a/backend.php b/backend.php index 9fb06b60..3ff5e7e7 100644 --- a/backend.php +++ b/backend.php @@ -1242,34 +1242,6 @@ print ""; } - 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"];