mirror of
https://github.com/friendica/friendica
synced 2024-11-20 07:03:41 +00:00
Maybe we shouldn't count pending contacts
This commit is contained in:
parent
fd28ecaacc
commit
b2302f6290
1 changed files with 2 additions and 2 deletions
|
@ -623,7 +623,7 @@
|
|||
// count friends
|
||||
$r = q("SELECT count(*) as `count` FROM `contact`
|
||||
WHERE `uid` = %d AND `rel` IN ( %d, %d )
|
||||
AND `self`=0 AND (NOT `blocked` OR `pending`) AND `hidden`=0",
|
||||
AND `self`=0 AND NOT `blocked` AND `hidden`=0",
|
||||
intval($uinfo[0]['uid']),
|
||||
intval(CONTACT_IS_SHARING),
|
||||
intval(CONTACT_IS_FRIEND)
|
||||
|
@ -632,7 +632,7 @@
|
|||
|
||||
$r = q("SELECT count(*) as `count` FROM `contact`
|
||||
WHERE `uid` = %d AND `rel` IN ( %d, %d )
|
||||
AND `self`=0 AND (NOT `blocked` OR `pending`) AND `hidden`=0",
|
||||
AND `self`=0 AND NOT `blocked` AND `hidden`=0",
|
||||
intval($uinfo[0]['uid']),
|
||||
intval(CONTACT_IS_FOLLOWER),
|
||||
intval(CONTACT_IS_FRIEND)
|
||||
|
|
Loading…
Reference in a new issue