@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove "Author" CustomField in Differential

Summary: Ref T11114. This hasn't done anything since we moved author information to the subheader.

Test Plan: Browsed Differential, still saw author information.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11114

Differential Revision: https://secure.phabricator.com/D17071

-41
-2
src/__phutil_library_map__.php
··· 354 354 'DifferentialAsanaRepresentationField' => 'applications/differential/customfield/DifferentialAsanaRepresentationField.php', 355 355 'DifferentialAuditorsCommitMessageField' => 'applications/differential/field/DifferentialAuditorsCommitMessageField.php', 356 356 'DifferentialAuditorsField' => 'applications/differential/customfield/DifferentialAuditorsField.php', 357 - 'DifferentialAuthorField' => 'applications/differential/customfield/DifferentialAuthorField.php', 358 357 'DifferentialBlameRevisionCommitMessageField' => 'applications/differential/field/DifferentialBlameRevisionCommitMessageField.php', 359 358 'DifferentialBlameRevisionField' => 'applications/differential/customfield/DifferentialBlameRevisionField.php', 360 359 'DifferentialBlockHeraldAction' => 'applications/differential/herald/DifferentialBlockHeraldAction.php', ··· 4998 4997 'DifferentialAsanaRepresentationField' => 'DifferentialCustomField', 4999 4998 'DifferentialAuditorsCommitMessageField' => 'DifferentialCommitMessageCustomField', 5000 4999 'DifferentialAuditorsField' => 'DifferentialStoredCustomField', 5001 - 'DifferentialAuthorField' => 'DifferentialCustomField', 5002 5000 'DifferentialBlameRevisionCommitMessageField' => 'DifferentialCommitMessageCustomField', 5003 5001 'DifferentialBlameRevisionField' => 'DifferentialStoredCustomField', 5004 5002 'DifferentialBlockHeraldAction' => 'HeraldAction',
-1
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
··· 30 30 new DifferentialTitleField(), 31 31 new DifferentialSummaryField(), 32 32 new DifferentialTestPlanField(), 33 - new DifferentialAuthorField(), 34 33 new DifferentialReviewersField(), 35 34 new DifferentialProjectReviewersField(), 36 35 new DifferentialReviewedByField(),
-38
src/applications/differential/customfield/DifferentialAuthorField.php
··· 1 - <?php 2 - 3 - final class DifferentialAuthorField 4 - extends DifferentialCustomField { 5 - 6 - public function getFieldKey() { 7 - return 'differential:author'; 8 - } 9 - 10 - public function getFieldName() { 11 - return pht('Author'); 12 - } 13 - 14 - public function getFieldDescription() { 15 - return pht('Stores the revision author.'); 16 - } 17 - 18 - public function canDisableField() { 19 - return false; 20 - } 21 - 22 - public function shouldAppearInPropertyView() { 23 - return false; 24 - } 25 - 26 - public function renderPropertyViewLabel() { 27 - return $this->getFieldName(); 28 - } 29 - 30 - public function getRequiredHandlePHIDsForPropertyView() { 31 - return array($this->getObject()->getAuthorPHID()); 32 - } 33 - 34 - public function renderPropertyViewValue(array $handles) { 35 - return $handles[$this->getObject()->getAuthorPHID()]->renderHovercardLink(); 36 - } 37 - 38 - }