diff options
author | Andrew Dolgov <[email protected]> | 2021-02-15 15:21:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-15 15:21:41 +0300 |
commit | 6b006a18e7efef814fa7a59102c85299acb0a0a4 (patch) | |
tree | 4eab0bed23cf8dce8487e102c74682b1e71993d0 /classes/rpc.php | |
parent | ecb36b6354cf693f8120884fdb9ef4068cb1d03f (diff) |
subscribe to feed: use client dialog
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 12 |
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)); |