1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

Allow mailing lists to be referenced by name in commit messages.

This commit is contained in:
epriestley 2011-04-10 09:40:46 -07:00
parent 9d4d258a0b
commit 69bfd8e598

View file

@ -228,7 +228,8 @@ class DifferentialCommitMessage {
$mail = id(new PhabricatorMetaMTAMailingList())->loadAllWhere(
'email in (%Ls)',
$need_mail);
$mail = mpull($mail, 'getPHID', 'getEmail');
$mail = mpull($mail, 'getPHID', 'getName') +
mpull($mail, 'getPHID', 'getEmail');
} else {
$mail = array();
}