From: Andrew Dolgov Date: Tue, 2 Apr 2013 10:54:31 +0000 (+0400) Subject: rpc: remove getArticles X-Git-Tag: 1.7.6~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9c96a3e28cb360fc79d1e58f4871ce47ad55333e;p=tt-rss.git rpc: remove getArticles --- diff --git a/classes/rpc.php b/classes/rpc.php index 04b763c4..de52a9e8 100644 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -378,19 +378,6 @@ class RPC extends Handler_Protected { } } - function getArticles() { - $ids = explode(",", db_escape_string($this->link, $_REQUEST["ids"])); - $articles = array(); - - foreach ($ids as $id) { - if ($id) { - array_push($articles, format_article($this->link, $id, 0, false)); - } - } - - print json_encode($articles); - } - function assigntolabel() { return $this->labelops(true); }