mirror of
https://github.com/friendica/friendica
synced 2025-04-23 14:30:11 +00:00
Replace almost every Introduction places
This commit is contained in:
parent
a40f503fdd
commit
7d7d310cc4
8 changed files with 128 additions and 43 deletions
|
@ -133,7 +133,7 @@ class Delegation extends BaseModule
|
|||
$params = ['distinct' => true, 'expression' => 'convid'];
|
||||
$notifications += DBA::count('mail', ['uid' => $identity['uid'], 'seen' => false], $params);
|
||||
|
||||
$notifications += DBA::count('intro', ['blocked' => false, 'ignore' => false, 'uid' => $identity['uid']]);
|
||||
$notifications += DI::intro()->countActiveForUser($identity['uid']);
|
||||
|
||||
$identities[$key]['notifications'] = $notifications;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue