mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 20:22:46 +01:00
24 lines
563 B
PHP
24 lines
563 B
PHP
|
<?php
|
||
|
|
||
|
final class DifferentialTransactionComment
|
||
|
extends PhabricatorApplicationTransactionComment {
|
||
|
|
||
|
protected $revisionPHID;
|
||
|
protected $changesetID;
|
||
|
protected $isNewFile;
|
||
|
protected $lineNumber;
|
||
|
protected $lineLength;
|
||
|
protected $fixedState;
|
||
|
protected $hasReplies = 0;
|
||
|
protected $replyToCommentPHID;
|
||
|
|
||
|
public function getApplicationTransactionObject() {
|
||
|
return new DifferentialTransaction();
|
||
|
}
|
||
|
|
||
|
public function shouldUseMarkupCache($field) {
|
||
|
// Only cache submitted comments.
|
||
|
return ($this->getTransactionPHID() != null);
|
||
|
}
|
||
|
}
|