rpc: remove getArticles
This commit is contained in:
parent
c83554bddd
commit
9c96a3e28c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue