mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Don't show deleted contacts, changed "pending" behaviour
This commit is contained in:
parent
cd3ab5ddc9
commit
28f14c7d60
6 changed files with 23 additions and 16 deletions
|
@ -358,6 +358,7 @@ class Contact extends BaseObject
|
|||
WHERE `gid` = ?
|
||||
AND `contact`.`uid` = ?
|
||||
AND NOT `contact`.`self`
|
||||
AND NOT `contact`.`deleted`
|
||||
AND NOT `contact`.`blocked`
|
||||
AND NOT `contact`.`pending`
|
||||
ORDER BY `contact`.`name` ASC',
|
||||
|
@ -1030,6 +1031,7 @@ class Contact extends BaseObject
|
|||
FROM `contact`
|
||||
WHERE `uid` = %d
|
||||
AND NOT `self`
|
||||
AND NOT `deleted`
|
||||
AND NOT `blocked`
|
||||
AND NOT `pending`
|
||||
AND `id` NOT IN (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue