1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

request label counters conditionally

This commit is contained in:
Andrew Dolgov
2021-02-24 15:07:31 +03:00
parent 9313ebf2e7
commit 553548b689
7 changed files with 159 additions and 70 deletions

View File

@@ -520,7 +520,7 @@ class API extends Handler {
/* API only: -4 All feeds, including virtual feeds */
if ($cat_id == -4 || $cat_id == -2) {
$counters = Counters::get_labels(true);
$counters = Counters::get_labels();
foreach (array_values($counters) as $cv) {