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:
parent
7c209590c1
commit
bb8bc4ff54
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue