Page MenuHomePhorge

No OneTemporary

diff --git a/src/applications/files/storage/PhabricatorFileTransactionComment.php b/src/applications/files/storage/PhabricatorFileTransactionComment.php
index ee668a49fb..6bada88eac 100644
--- a/src/applications/files/storage/PhabricatorFileTransactionComment.php
+++ b/src/applications/files/storage/PhabricatorFileTransactionComment.php
@@ -1,26 +1,10 @@
<?php
final class PhabricatorFileTransactionComment
extends PhabricatorApplicationTransactionComment {
public function getApplicationTransactionObject() {
return new PhabricatorFileTransaction();
}
- public function shouldUseMarkupCache($field) {
- // Only cache submitted comments.
- return ($this->getTransactionPHID() != null);
- }
-
- protected function getConfiguration() {
- $config = parent::getConfiguration();
- $config[self::CONFIG_KEY_SCHEMA] = array(
- 'key_draft' => array(
- 'columns' => array('authorPHID', 'transactionPHID'),
- 'unique' => true,
- ),
- ) + $config[self::CONFIG_KEY_SCHEMA];
- return $config;
- }
-
}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Jan 19, 12:57 (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124811
Default Alt Text
(1 KB)

Event Timeline