Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-08 11:54:40 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-08 11:54:40 +0400
commit3d51147de18b7e1725ace4be52f9a4fd684e4f35 (patch)
treee53f9637191dc52537195acb80cf1a07fdfcfb73 /app/services/system_hooks_service.rb
parent07437ac3d436d427e4e8554f685f09a17d31e171 (diff)
Add user_id to system hook when new user created
Diffstat (limited to 'app/services/system_hooks_service.rb')
-rw-r--r--app/services/system_hooks_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb
index 39aec943f75..de4fa9b79e7 100644
--- a/app/services/system_hooks_service.rb
+++ b/app/services/system_hooks_service.rb
@@ -36,7 +36,8 @@ class SystemHooksService
when User
data.merge!({
name: model.name,
- email: model.email
+ email: model.email,
+ user_id: model.id
})
when UsersProject
data.merge!({