Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionPreCommitContentMessageHeraldField.php
blob27aff5b5c2362f07c20a1f61199ced652e0a324b
1 <?php
3 final class DiffusionPreCommitContentMessageHeraldField
4 extends DiffusionPreCommitContentHeraldField {
6 const FIELDCONST = 'diffusion.pre.commit.message';
8 public function getHeraldFieldName() {
9 return pht('Commit message');
12 public function getHeraldFieldValue($object) {
13 return $this->getAdapter()->getCommitRef()->getMessage();
16 protected function getHeraldFieldStandardType() {
17 return self::STANDARD_TEXT;