rpc: remove getArticles
This commit is contained in:
parent
c83554bddd
commit
9c96a3e28c
1 changed files with 0 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue