mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:10:11 +00:00
Fix: The calculation of unseen circles can now be deactivated again
This commit is contained in:
parent
eb50618fe8
commit
174fa49b23
6 changed files with 21 additions and 10 deletions
|
@ -152,10 +152,10 @@ class Ping extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
$compute_circle_counts = $this->config->get('system','compute_group_counts') ?? $this->config->get('system','compute_circle_counts');
|
||||
$compute_circle_counts = $this->config->get('system','compute_circle_counts');
|
||||
if ($network_count && $compute_circle_counts) {
|
||||
// Find out how unseen network posts are spread across circles
|
||||
foreach (Circle::countUnseen() as $circle_count) {
|
||||
foreach (Circle::countUnseen($this->session->getLocalUserId()) as $circle_count) {
|
||||
if ($circle_count['count'] > 0) {
|
||||
$circles_unseen[] = $circle_count;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue