commit | 828f041895138b32df95988ea86e80e078858d17 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Wed Aug 04 12:03:33 2010 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Wed Aug 04 12:03:33 2010 -0700 |
tree | 4314cdb65cf8396d0cf35483cd68e5c71108223a | |
parent | dfabc92a95d086370d43cffa5e0a1295858a18e0 [diff] |
Fix CurrentUser reference on merge thread The merge thread was running ChangeMail to send out messages, but that may need to run queries with the visibleto: predicate, which incorrectly relied on the ChangeControl.Factory. Using the GenericFactory instead permits us to get the ChangeControl for a given user without needing a current user on the calling thread. Change-Id: I9eb83b4f04665042182b37c4951966d1540248ff Signed-off-by: Shawn O. Pearce <sop@google.com>