Page MenuHomePhabricator

D17069.diff
No OneTemporary

D17069.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -351,7 +351,6 @@
'DifferentialAddCommentView' => 'applications/differential/view/DifferentialAddCommentView.php',
'DifferentialAdjustmentMapTestCase' => 'applications/differential/storage/__tests__/DifferentialAdjustmentMapTestCase.php',
'DifferentialAffectedPath' => 'applications/differential/storage/DifferentialAffectedPath.php',
- 'DifferentialApplyPatchField' => 'applications/differential/customfield/DifferentialApplyPatchField.php',
'DifferentialAsanaRepresentationField' => 'applications/differential/customfield/DifferentialAsanaRepresentationField.php',
'DifferentialAuditorsCommitMessageField' => 'applications/differential/field/DifferentialAuditorsCommitMessageField.php',
'DifferentialAuditorsField' => 'applications/differential/customfield/DifferentialAuditorsField.php',
@@ -4996,7 +4995,6 @@
'DifferentialAddCommentView' => 'AphrontView',
'DifferentialAdjustmentMapTestCase' => 'PhutilTestCase',
'DifferentialAffectedPath' => 'DifferentialDAO',
- 'DifferentialApplyPatchField' => 'DifferentialCustomField',
'DifferentialAsanaRepresentationField' => 'DifferentialCustomField',
'DifferentialAuditorsCommitMessageField' => 'DifferentialCommitMessageCustomField',
'DifferentialAuditorsField' => 'DifferentialStoredCustomField',
diff --git a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
--- a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
+++ b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
@@ -58,8 +58,6 @@
new DifferentialUnitField(),
new DifferentialRevertPlanField(),
- new DifferentialApplyPatchField(),
-
new DifferentialRevisionIDField(),
);
diff --git a/src/applications/differential/customfield/DifferentialApplyPatchField.php b/src/applications/differential/customfield/DifferentialApplyPatchField.php
deleted file mode 100644
--- a/src/applications/differential/customfield/DifferentialApplyPatchField.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-final class DifferentialApplyPatchField
- extends DifferentialCustomField {
-
- public function getFieldKey() {
- return 'differential:apply-patch';
- }
-
- public function getFieldName() {
- return pht('Apply Patch');
- }
-
- public function getFieldDescription() {
- return pht('Provides instructions for applying a local patch.');
- }
-
- public function shouldAppearInPropertyView() {
- return true;
- }
-
- public function renderPropertyViewLabel() {
- return $this->getFieldName();
- }
-
- public function renderPropertyViewValue(array $handles) {
- $mono = $this->getObject()->getMonogram();
-
- return phutil_tag('tt', array(), "arc patch {$mono}");
- }
-
-}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 10:56 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7012645
Default Alt Text
D17069.diff (2 KB)

Event Timeline