mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Remove legacy numeric Audit status constants
Summary: Depends on D19655. Ref T13197. These no longer have callers. Test Plan: Grepped for these constants. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13197 Differential Revision: https://secure.phabricator.com/D19656
This commit is contained in:
parent
d63281cc54
commit
aaf2269551
1 changed files with 6 additions and 13 deletions
|
@ -5,13 +5,6 @@ final class PhabricatorAuditCommitStatusConstants extends Phobject {
|
|||
private $key;
|
||||
private $spec = array();
|
||||
|
||||
const NONE = 0;
|
||||
const NEEDS_AUDIT = 1;
|
||||
const CONCERN_RAISED = 2;
|
||||
const PARTIALLY_AUDITED = 3;
|
||||
const FULLY_AUDITED = 4;
|
||||
const NEEDS_VERIFICATION = 5;
|
||||
|
||||
const MODERN_NONE = 'none';
|
||||
const MODERN_NEEDS_AUDIT = 'needs-audit';
|
||||
const MODERN_CONCERN_RAISED = 'concern-raised';
|
||||
|
@ -125,42 +118,42 @@ final class PhabricatorAuditCommitStatusConstants extends Phobject {
|
|||
return array(
|
||||
self::MODERN_NONE => array(
|
||||
'name' => pht('No Audits'),
|
||||
'legacy' => self::NONE,
|
||||
'legacy' => 0,
|
||||
'icon' => 'fa-check',
|
||||
'color' => 'bluegrey',
|
||||
'closed' => true,
|
||||
),
|
||||
self::MODERN_NEEDS_AUDIT => array(
|
||||
'name' => pht('Audit Required'),
|
||||
'legacy' => self::NEEDS_AUDIT,
|
||||
'legacy' => 1,
|
||||
'icon' => 'fa-exclamation-circle',
|
||||
'color' => 'orange',
|
||||
'closed' => false,
|
||||
),
|
||||
self::MODERN_CONCERN_RAISED => array(
|
||||
'name' => pht('Concern Raised'),
|
||||
'legacy' => self::CONCERN_RAISED,
|
||||
'legacy' => 2,
|
||||
'icon' => 'fa-times-circle',
|
||||
'color' => 'red',
|
||||
'closed' => false,
|
||||
),
|
||||
self::MODERN_PARTIALLY_AUDITED => array(
|
||||
'name' => pht('Partially Audited'),
|
||||
'legacy' => self::PARTIALLY_AUDITED,
|
||||
'legacy' => 3,
|
||||
'icon' => 'fa-check-circle-o',
|
||||
'color' => 'yellow',
|
||||
'closed' => false,
|
||||
),
|
||||
self::MODERN_AUDITED => array(
|
||||
'name' => pht('Audited'),
|
||||
'legacy' => self::FULLY_AUDITED,
|
||||
'legacy' => 4,
|
||||
'icon' => 'fa-check-circle',
|
||||
'color' => 'green',
|
||||
'closed' => true,
|
||||
),
|
||||
self::MODERN_NEEDS_VERIFICATION => array(
|
||||
'name' => pht('Needs Verification'),
|
||||
'legacy' => self::NEEDS_VERIFICATION,
|
||||
'legacy' => 5,
|
||||
'icon' => 'fa-refresh',
|
||||
'color' => 'indigo',
|
||||
'closed' => false,
|
||||
|
|
Loading…
Reference in a new issue