1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-10 22:08:32 +01:00
phorge-phorge/src/applications/diffusion/herald/DiffusionCommitDiffContentRemovedHeraldField.php

25 lines
547 B
PHP
Raw Normal View History

<?php
final class DiffusionCommitDiffContentRemovedHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.diff.old';
public function getHeraldFieldName() {
return pht('Diff content removed');
}
public function getFieldGroupKey() {
return DiffusionChangeHeraldFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->loadDiffContent('-');
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT_MAP;
}
}