Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionPreCommitContentDiffContentRemovedHeraldField.php
blob65e4c3db29859ab880c5c46290aed411c5aa9353
1 <?php
3 final class DiffusionPreCommitContentDiffContentRemovedHeraldField
4 extends DiffusionPreCommitContentHeraldField {
6 const FIELDCONST = 'diffusion.pre.commit.diff.old';
8 public function getHeraldFieldName() {
9 return pht('Removed diff content');
12 public function getFieldGroupKey() {
13 return DiffusionChangeHeraldFieldGroup::FIELDGROUPKEY;
16 public function getHeraldFieldValue($object) {
17 return $this->getAdapter()->getDiffContent('-');
20 protected function getHeraldFieldStandardType() {
21 return self::STANDARD_TEXT_MAP;