mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 03:31:28 +00:00
counters: just merge everything at once
This commit is contained in:
@@ -2,14 +2,13 @@
|
|||||||
class Counters {
|
class Counters {
|
||||||
|
|
||||||
static function get_all() {
|
static function get_all() {
|
||||||
$data = self::get_global();
|
return array_merge(
|
||||||
|
self::get_global(),
|
||||||
$data = array_merge($data, self::get_virt(),
|
self::get_virt(),
|
||||||
self::get_labels(),
|
self::get_labels(),
|
||||||
self::get_feeds(),
|
self::get_feeds(),
|
||||||
self::get_cats());
|
self::get_cats()
|
||||||
|
);
|
||||||
return $data;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static private function get_cat_children($cat_id, $owner_uid) {
|
static private function get_cat_children($cat_id, $owner_uid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user