From: miqrogroove Date: Wed, 20 Jun 2018 15:50:09 +0000 (-0400) Subject: Filter Removed Users From Directory X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7243dcfb0920868062ea8530b9eb3f8d8aec3da7;p=friendica.git Filter Removed Users From Directory --- diff --git a/mod/directory.php b/mod/directory.php index 90d7abcc0b..04deecbede 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -96,7 +96,8 @@ function directory_content(App $a) `contact`.`addr`, `contact`.`url` AS profile_url FROM `profile` LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid` LEFT JOIN `contact` ON `contact`.`uid` = `user`.`uid` - WHERE `is-default` $publish AND `user`.`blocked` = 0 AND `contact`.`self` $sql_extra $order LIMIT ".$limit + WHERE `is-default` $publish AND `user`.`blocked` = 0 AND `user`.`account_removed` = 0 AND `contact`.`self` + $sql_extra $order LIMIT $limit" ); if (DBM::is_result($r)) { if (in_array('small', $a->argv)) {