Make "Audit Requested" put commits into the "Needs Audit" state
Summary: Fixes T7504. I think that task legitimately describes a bug and that the current behavior is counterintuitive. Test Plan: Manually added an auditor to a commit with none; saw it become "Audit Required" as an overall state. Reviewers: chad Reviewed By: chad Maniphest Tasks: T7504 Differential Revision: https://secure.phabricator.com/D17185
This commit is contained in:
@@ -256,6 +256,7 @@ final class PhabricatorRepositoryCommit
|
||||
foreach ($requests as $request) {
|
||||
switch ($request->getAuditStatus()) {
|
||||
case PhabricatorAuditStatusConstants::AUDIT_REQUIRED:
|
||||
case PhabricatorAuditStatusConstants::AUDIT_REQUESTED:
|
||||
$any_need = true;
|
||||
break;
|
||||
case PhabricatorAuditStatusConstants::ACCEPTED:
|
||||
|
||||
Reference in New Issue
Block a user