diff options
author | Andrew Dolgov <[email protected]> | 2013-04-02 14:54:31 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-02 14:54:34 +0400 |
commit | 9c96a3e28cb360fc79d1e58f4871ce47ad55333e (patch) | |
tree | 9b693910d548289d7f9907818a61235140a6415f | |
parent | c83554bdddd1efb8a600d2dc6dbd119e3104013c (diff) |
rpc: remove getArticles
-rw-r--r-- | classes/rpc.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 04b763c46..de52a9e8c 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); } |