@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Exclude disabled (disapproved) users from count on People application on homepage

Summary:
The People application shows users awaiting approval, but incorrectly counts disabled users (i.e., users who were not approved).

Instead, count only non-disabled, non-approved users.

Test Plan: My homepage count dropped from 4 to 1, corresponding to the actual number of accounts.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, spicyj

Differential Revision: https://secure.phabricator.com/D8486

+1
+1
src/applications/people/application/PhabricatorApplicationPeople.php
··· 80 80 $need_approval = id(new PhabricatorPeopleQuery()) 81 81 ->setViewer($user) 82 82 ->withIsApproved(false) 83 + ->withIsDisabled(false) 83 84 ->execute(); 84 85 85 86 if (!$need_approval) {