Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15412261
D9908.id23783.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
751 B
Referenced Files
None
Subscribers
None
D9908.id23783.diff
View Options
diff --git a/src/applications/project/customfield/PhabricatorProjectCustomField.php b/src/applications/project/customfield/PhabricatorProjectCustomField.php
--- a/src/applications/project/customfield/PhabricatorProjectCustomField.php
+++ b/src/applications/project/customfield/PhabricatorProjectCustomField.php
@@ -3,5 +3,16 @@
abstract class PhabricatorProjectCustomField
extends PhabricatorCustomField {
+ public function newStorageObject() {
+ return new PhabricatorProjectCustomFieldStorage();
+ }
+
+ protected function newStringIndexStorage() {
+ return new PhabricatorProjectCustomFieldStringIndex();
+ }
+
+ protected function newNumericIndexStorage() {
+ return new PhabricatorProjectCustomFieldNumericIndex();
+ }
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 12:05 PM (1 d, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382359
Default Alt Text
D9908.id23783.diff (751 B)
Attached To
Mode
D9908: Fix PhabricatorProjectCustomFields to use storage correctly.
Attached
Detach File
Event Timeline
Log In to Comment