Differential D13200 Diff 31965 src/applications/releeph/field/specification/ReleephAuthorFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/field/specification/ReleephAuthorFieldSpecification.php
| <?php | <?php | ||||
| final class ReleephAuthorFieldSpecification | final class ReleephAuthorFieldSpecification | ||||
| extends ReleephFieldSpecification { | extends ReleephFieldSpecification { | ||||
| public function getFieldKey() { | public function getFieldKey() { | ||||
| return 'author'; | return 'author'; | ||||
| } | } | ||||
| public function getName() { | public function getName() { | ||||
| return 'Author'; | return pht('Author'); | ||||
| } | } | ||||
| public function getRequiredHandlePHIDsForPropertyView() { | public function getRequiredHandlePHIDsForPropertyView() { | ||||
| $pull = $this->getReleephRequest(); | $pull = $this->getReleephRequest(); | ||||
| $commit = $pull->loadPhabricatorRepositoryCommit(); | $commit = $pull->loadPhabricatorRepositoryCommit(); | ||||
| if (!$commit) { | if (!$commit) { | ||||
| return array(); | return array(); | ||||
| } | } | ||||
| Show All 14 Lines | |||||