diff options
author | Tommy Beadle <tbeadle@arbor.net> | 2016-01-07 12:54:35 -0500 |
---|---|---|
committer | Tommy Beadle <tbeadle@arbor.net> | 2016-01-07 12:54:35 -0500 |
commit | dada25d4472ec9ad601447fdd12da2301ac9ee79 (patch) | |
tree | 0960ddb2221823a1ffaec714c997183b02129996 /app | |
parent | fc386b65d090848322b70ca915d9140482a51494 (diff) | |
download | gitlab-ce-dada25d4472ec9ad601447fdd12da2301ac9ee79.tar.gz |
Include the username in user_create/destroy system hooks.
Diffstat (limited to 'app')
-rw-r--r-- | app/services/system_hooks_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb index 6dc854ec33d..2bd8223fbd8 100644 --- a/app/services/system_hooks_service.rb +++ b/app/services/system_hooks_service.rb @@ -47,7 +47,8 @@ class SystemHooksService data.merge!({ name: model.name, email: model.email, - user_id: model.id + user_id: model.id, + username: model.username }) when ProjectMember data.merge!(project_member_data(model)) |