rpc: remove getArticles

This commit is contained in:
Andrew Dolgov 2013-04-02 14:54:31 +04:00
parent c83554bddd
commit 9c96a3e28c
1 changed files with 0 additions and 13 deletions

View File

@ -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() { function assigntolabel() {
return $this->labelops(true); return $this->labelops(true);
} }