Don't show archived projects by default in policy control
Summary: When filling in filler projects, only select active ones. Also use a slightly more modern method signature. Test Plan: Disabled a project, saw it vanish from the control. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15199
This commit is contained in:
@@ -130,7 +130,10 @@ final class PhabricatorPeopleProfileViewController
|
||||
->setViewer($viewer)
|
||||
->withMemberPHIDs(array($user->getPHID()))
|
||||
->needImages(true)
|
||||
->withStatus(PhabricatorProjectQuery::STATUS_OPEN)
|
||||
->withStatuses(
|
||||
array(
|
||||
PhabricatorProjectStatus::STATUS_ACTIVE,
|
||||
))
|
||||
->execute();
|
||||
|
||||
$header = id(new PHUIHeaderView())
|
||||
|
||||
Reference in New Issue
Block a user