Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2890004
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Jan 19, 12:57 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124811
Default Alt Text
(1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment