1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix issue with almanac service type map keying

Summary: Ref T8780. I think this fixes the issue.

Test Plan: @chad

Reviewers: chad

Reviewed By: chad

Subscribers: chad, epriestley

Maniphest Tasks: T8780

Differential Revision: https://secure.phabricator.com/D13584
This commit is contained in:
epriestley 2015-07-07 13:21:04 -07:00
parent 9979952e71
commit 64611e9dc6

View file

@ -67,7 +67,6 @@ abstract class AlmanacServiceType extends Phobject {
public static function getAllServiceTypes() { public static function getAllServiceTypes() {
return id(new PhutilClassMapQuery()) return id(new PhutilClassMapQuery())
->setAncestorClass(__CLASS__) ->setAncestorClass(__CLASS__)
->setUniqueMethod('getServiceTypeShortName')
->setSortMethod('getServiceTypeName') ->setSortMethod('getServiceTypeName')
->execute(); ->execute();
} }