1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00

Fix some slop with Differential field lists

Summary: I moved and then un-moved this incorrectly in D16846.

Test Plan: Looked at the old code, which worked better.

Reviewers: jacksongabbard, chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D16849
This commit is contained in:
epriestley 2016-11-12 16:23:52 -08:00
parent 6dfc7e48ae
commit 745429aac1

View file

@ -33,7 +33,7 @@ final class DifferentialParseCommitMessageConduitAPIMethod
new DifferentialRevision(),
DifferentialCustomField::ROLE_COMMITMESSAGE);
$field_list->setViewer($viewer);
$field_map = mpull($field_list, null, 'getFieldKeyForConduit');
$field_map = mpull($field_list->getFields(), null, 'getFieldKeyForConduit');
$corpus_map = $this->parseCommitMessage($corpus);