mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 19:22:42 +01:00
18 lines
377 B
PHP
18 lines
377 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @group file
|
||
|
*/
|
||
|
final class PhabricatorFileTransactionComment
|
||
|
extends PhabricatorApplicationTransactionComment {
|
||
|
|
||
|
public function getApplicationTransactionObject() {
|
||
|
return new PhabricatorFileTransaction();
|
||
|
}
|
||
|
|
||
|
public function shouldUseMarkupCache($field) {
|
||
|
// Only cache submitted comments.
|
||
|
return ($this->getTransactionPHID() != null);
|
||
|
}
|
||
|
}
|