Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionCommitAuthorHeraldField.php
blob4c6fd74b31d96806a12ad6ecbd74ce73a980e453
1 <?php
3 final class DiffusionCommitAuthorHeraldField
4 extends DiffusionCommitHeraldField {
6 const FIELDCONST = 'diffusion.commit.author';
8 public function getHeraldFieldName() {
9 return pht('Author');
12 public function getHeraldFieldValue($object) {
13 return $this->getAdapter()->getAuthorPHID();
16 protected function getHeraldFieldStandardType() {
17 return self::STANDARD_PHID_NULLABLE;
20 protected function getDatasource() {
21 return new PhabricatorPeopleDatasource();