mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
Make network counts at the group level system level configurable
This commit is contained in:
parent
464fdb955c
commit
e57e1ba1e5
6 changed files with 200 additions and 180 deletions
|
@ -113,7 +113,8 @@ class Ping extends BaseModule
|
|||
}
|
||||
DBA::close($items);
|
||||
|
||||
if ($network_count) {
|
||||
$compute_group_counts = DI::config()->get('system','compute_group_counts');
|
||||
if ($network_count && $compute_group_counts) {
|
||||
// Find out how unseen network posts are spread across groups
|
||||
$group_counts = Group::countUnseen();
|
||||
if (DBA::isResult($group_counts)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue