summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-15 15:21:25 +0300
committerAndrew Dolgov <[email protected]>2021-02-15 15:21:41 +0300
commit6b006a18e7efef814fa7a59102c85299acb0a0a4 (patch)
tree4eab0bed23cf8dce8487e102c74682b1e71993d0 /classes/rpc.php
parentecb36b6354cf693f8120884fdb9ef4068cb1d03f (diff)
subscribe to feed: use client dialog
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index e0753a08e..2bbaf4135 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -80,18 +80,6 @@ class RPC extends Handler_Protected {
}
}
- function addfeed() {
- $feed = clean($_REQUEST['feed']);
- $cat = clean($_REQUEST['cat']);
- $need_auth = isset($_REQUEST['need_auth']);
- $login = $need_auth ? clean($_REQUEST['login']) : '';
- $pass = $need_auth ? clean($_REQUEST['pass']) : '';
-
- $rc = Feeds::subscribe_to_feed($feed, $cat, $login, $pass);
-
- print json_encode(array("result" => $rc));
- }
-
function togglepref() {
$key = clean($_REQUEST["key"]);
set_pref($key, !get_pref($key));