Allow mailing lists to be referenced by name in commit messages.
This commit is contained in:
@@ -228,7 +228,8 @@ class DifferentialCommitMessage {
|
|||||||
$mail = id(new PhabricatorMetaMTAMailingList())->loadAllWhere(
|
$mail = id(new PhabricatorMetaMTAMailingList())->loadAllWhere(
|
||||||
'email in (%Ls)',
|
'email in (%Ls)',
|
||||||
$need_mail);
|
$need_mail);
|
||||||
$mail = mpull($mail, 'getPHID', 'getEmail');
|
$mail = mpull($mail, 'getPHID', 'getName') +
|
||||||
|
mpull($mail, 'getPHID', 'getEmail');
|
||||||
} else {
|
} else {
|
||||||
$mail = array();
|
$mail = array();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user