1
0
Fork 0
mirror of https://git.friendi.ca/friendica/friendica.git synced 2025-07-15 08:38:51 +00:00

Exclude deleted user accounts from "active" user list in Model\User

This commit is contained in:
Hypolite Petovan 2020-07-06 15:26:39 -04:00
parent b4910066b6
commit 6cde7afa53

View file

@ -1321,6 +1321,7 @@ class User
$condition = [];
switch ($type) {
case 'active':
$condition['account_removed'] = false;
$condition['blocked'] = false;
break;
case 'blocked':