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

Make commit message parsing at least sort of work.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-02-09 09:17:21 -08:00
parent 7c209590c1
commit bb8bc4ff54

View file

@ -215,8 +215,11 @@ class DifferentialCommitMessage {
if ($need_users) {
$users = id(new PhabricatorUser())->loadAllWhere(
'username IN (%Ls) OR email IN (%Ls)',
'(username IN (%Ls)) OR (email IN (%Ls))',
$need_users,
$need_users);
$users = mpull($users, 'getPHID', 'getUsername') +
mpull($users, 'getPHID', 'getEmail');
} else {
$users = array();
}
@ -225,6 +228,7 @@ class DifferentialCommitMessage {
$mail = id(new PhabricatorMetaMTAMailingList())->loadAllWhere(
'email in (%Ls)',
$need_mail);
$mail = mpull($mail, 'getPHID', 'getEmail');
} else {
$mail = array();
}