Page MenuHomePhabricator

D9908.diff
No OneTemporary

D9908.diff

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

Mime Type
text/plain
Expires
Sun, May 12, 5:35 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6290039
Default Alt Text
D9908.diff (751 B)

Event Timeline