mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 03:42:41 +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);
|
||
|
}
|
||
|
}
|