Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / diffusion / herald / DiffusionPreCommitContentHeraldField.php
blob6e3d88a37164f0df489bd8afb258da4b01ee293b
1 <?php
3 abstract class DiffusionPreCommitContentHeraldField extends HeraldField {
5 public function supportsObject($object) {
6 if (!($object instanceof PhabricatorRepositoryPushLog)) {
7 return false;
10 if ($this->getAdapter()->isPreCommitRefAdapter()) {
11 return false;
14 return true;
17 public function getFieldGroupKey() {
18 return DiffusionCommitHeraldFieldGroup::FIELDGROUPKEY;