]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Don't show deleted contacts, changed "pending" behaviour
[friendica.git] / src / Model / Contact.php
index 8754f1c5fff1a38e4e0a86186b596c0f3cba3d6e..90b86789cc5e8b9201016f2b8cc7c4defc0cb562 100644 (file)
@@ -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 (