mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 04:02:43 +01:00
44302d2f07
Summary: Ref T2222. Ref T1460. Depends on D6260. This creates the new tables, but doesn't start using them. I added three new fields for {T1460}, to represent fixed/done/replied states. Test Plan: Ran storage upgrade. Reviewers: btrahan Reviewed By: btrahan CC: chad, aran Maniphest Tasks: T1460, T2222 Differential Revision: https://secure.phabricator.com/D6261
23 lines
563 B
PHP
23 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);
|
|
}
|
|
}
|