1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 18:41:29 +00:00

js: simplify counter updating, remove some unused stuff

This commit is contained in:
Andrew Dolgov
2013-02-01 13:09:43 +04:00
parent 1e6463fde9
commit 5b55e9e25c
6 changed files with 44 additions and 145 deletions

View File

@@ -104,11 +104,7 @@ class API extends Handler {
/* Method added for ttrss-reader for Android */
function getCounters() {
/* flct (flc is the default) FIXME: document */
$output_mode = db_escape_string($_REQUEST["output_mode"]);
print $this->wrap(self::STATUS_OK, getAllCounters($this->link, $output_mode));
print $this->wrap(self::STATUS_OK, getAllCounters($this->link));
}
function getFeeds() {