1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-09 14:59:42 +00:00

api: rewrite getCounters to use getAllCounters()

This commit is contained in:
Andrew Dolgov
2010-11-05 18:03:26 +03:00
parent 8945282432
commit 9798b2b4c6
2 changed files with 4 additions and 66 deletions

View File

@@ -2480,7 +2480,7 @@
/* Special case: NULL category doesn't actually exist in the DB */
$cv = array("id" => 0, "cat" => true,
$cv = array("id" => 0, "kind" => "cat",
"counter" => ccache_find($link, 0, $_SESSION["uid"], true));
array_push($ret_arr, $cv);