diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-10 11:13:57 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-10 11:41:44 +0000 |
commit | 5c0f6c856de37b022f5a429b50a1784cf374c45f (patch) | |
tree | 8138f05a37503980dd5fb01b3fe0dc926647f590 /log | |
parent | 7ac732a2b4383800d40cfd1af906a07de3df0e7a (diff) | |
download | gitlab-ce-5c0f6c856de37b022f5a429b50a1784cf374c45f.tar.gz |
Fix autocomplete in EE when permissions are sent29316-can-t-select-a-mirror-user
In EE, `@users` can be an array at the point where we remove the current
user, because it can do a permissions check on the users for project
mirroring.
Fix this in CE by only using array methods, not AR methods. We can't use
`delete` because that uses `Object#equal?`, which isn't true in this
case.
Diffstat (limited to 'log')
0 files changed, 0 insertions, 0 deletions