Page MenuHomePhabricator

D19656.diff
No OneTemporary

D19656.diff

diff --git a/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php b/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php
--- a/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php
+++ b/src/applications/audit/constants/PhabricatorAuditCommitStatusConstants.php
@@ -5,13 +5,6 @@
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 @@
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,

File Metadata

Mime Type
text/plain
Expires
Sat, May 18, 6:14 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276655
Default Alt Text
D19656.diff (2 KB)

Event Timeline