mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-30 12:30:52 +02:00
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
Block a user