mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
26 lines
607 B
PHP
26 lines
607 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorAuditTransactionComment
|
||
|
extends PhabricatorApplicationTransactionComment {
|
||
|
|
||
|
protected $commitPHID;
|
||
|
protected $pathID;
|
||
|
protected $isNewFile = 0;
|
||
|
protected $lineNumber = 0;
|
||
|
protected $lineLength = 0;
|
||
|
protected $fixedState;
|
||
|
protected $hasReplies = 0;
|
||
|
protected $replyToCommentPHID;
|
||
|
protected $legacyCommentID;
|
||
|
|
||
|
public function getApplicationTransactionObject() {
|
||
|
return new PhabricatorAuditTransaction();
|
||
|
}
|
||
|
|
||
|
public function shouldUseMarkupCache($field) {
|
||
|
// Only cache submitted comments.
|
||
|
return ($this->getTransactionPHID() != null);
|
||
|
}
|
||
|
|
||
|
}
|