summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-01 13:09:43 +0400
committerAndrew Dolgov <[email protected]>2013-02-01 13:09:43 +0400
commit5b55e9e25cfca0229f1e00aee6a9aee6c1510611 (patch)
tree3a2c2ca235ae6a596cd095167a12b645c087b7f0 /classes/api.php
parent1e6463fde939a8c18cc7f301b831b21ff673d1e4 (diff)
js: simplify counter updating, remove some unused stuff
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/classes/api.php b/classes/api.php
index 9b9a5bbe5..a4294e026 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -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() {