1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Allow system agents in commit message object lists

Summary:
When system agent adds a comment then he is added to CC.
When I amend and update then I get message "Commit message references nonexistent ..."

Test Plan: Update revision with system agent in CC.

Reviewers: epriestley

Reviewed By: epriestley

CC: michalburger1, aran

Differential Revision: https://secure.phabricator.com/D2100
This commit is contained in:
vrana 2012-04-04 10:11:14 -07:00
parent 6a0b25c188
commit 84398fc581

View file

@ -658,8 +658,7 @@ abstract class DifferentialFieldSpecification {
$object_map = array();
$users = id(new PhabricatorUser())->loadAllWhere(
'((username IN (%Ls)) OR (email IN (%Ls)))
AND isSystemAgent = 0',
'(username IN (%Ls)) OR (email IN (%Ls))',
$value,
$value);