Page MenuHomePhabricator

D19315.id46218.diff
No OneTemporary

D19315.id46218.diff

diff --git a/src/applications/almanac/editor/AlmanacServiceEditEngine.php b/src/applications/almanac/editor/AlmanacServiceEditEngine.php
--- a/src/applications/almanac/editor/AlmanacServiceEditEngine.php
+++ b/src/applications/almanac/editor/AlmanacServiceEditEngine.php
@@ -41,6 +41,12 @@
return AlmanacService::initializeNewService($service_type);
}
+ protected function newEditableObjectForDocumentation() {
+ $service_type = new AlmanacCustomServiceType();
+ $this->setServiceType($service_type->getServiceTypeConstant());
+ return $this->newEditableObject();
+ }
+
protected function newObjectQuery() {
return new AlmanacServiceQuery();
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 4:13 PM (18 h, 12 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7023190
Default Alt Text
D19315.id46218.diff (677 B)

Event Timeline