mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 19:52:44 +01:00
98ac0a022c
Summary: Ref T8726. Test Plan: Created a giant rule with every commit field: {F594686} Ran the upgrade, got the same rule with new fields: {F594688} Used "Test Console" to run transcripts, saw all the fields populate correctly. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8726 Differential Revision: https://secure.phabricator.com/D13567
24 lines
533 B
PHP
24 lines
533 B
PHP
<?php
|
|
|
|
final class DiffusionCommitDiffEnormousHeraldField
|
|
extends DiffusionCommitHeraldField {
|
|
|
|
const FIELDCONST = 'diffusion.commit.enormous';
|
|
|
|
public function getHeraldFieldName() {
|
|
return pht('Change is enormous');
|
|
}
|
|
|
|
public function getHeraldFieldValue($object) {
|
|
return $this->getAdapter()->isDiffEnormous();
|
|
}
|
|
|
|
protected function getHeraldFieldStandardConditions() {
|
|
return self::STANDARD_BOOL;
|
|
}
|
|
|
|
public function getHeraldFieldValueType($condition) {
|
|
return HeraldAdapter::VALUE_NONE;
|
|
}
|
|
|
|
}
|