Page MenuHomePhabricator

D16312.diff
No OneTemporary

D16312.diff

diff --git a/src/applications/files/storage/PhabricatorFileTransactionComment.php b/src/applications/files/storage/PhabricatorFileTransactionComment.php
--- a/src/applications/files/storage/PhabricatorFileTransactionComment.php
+++ b/src/applications/files/storage/PhabricatorFileTransactionComment.php
@@ -7,20 +7,4 @@
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/plain
Expires
Sun, Jan 19, 6:35 AM (18 h, 5 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7015982
Default Alt Text
D16312.diff (856 B)

Event Timeline