summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-02 14:54:31 +0400
committerAndrew Dolgov <[email protected]>2013-04-02 14:54:34 +0400
commit9c96a3e28cb360fc79d1e58f4871ce47ad55333e (patch)
tree9b693910d548289d7f9907818a61235140a6415f /classes/rpc.php
parentc83554bdddd1efb8a600d2dc6dbd119e3104013c (diff)
rpc: remove getArticles
Diffstat (limited to 'classes/rpc.php')
-rw-r--r--classes/rpc.php13
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);
}