diff options
author | James Lopez <james@jameslopez.es> | 2017-09-20 12:00:33 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-09-28 08:46:39 +0200 |
commit | 7188975cb54a2b6902544340a91f94aa1fa82d3c (patch) | |
tree | 1875e2d2aa970686280f7e40d67a21dd7dd76f1e /app/services/users | |
parent | 9621dd0c9d31508bdac2e2e226537302b560ef10 (diff) | |
download | gitlab-ce-7188975cb54a2b6902544340a91f94aa1fa82d3c.tar.gz |
update initializers
Diffstat (limited to 'app/services/users')
-rw-r--r-- | app/services/users/update_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/users/update_service.rb b/app/services/users/update_service.rb index fddeeb9d52a..05cb1655325 100644 --- a/app/services/users/update_service.rb +++ b/app/services/users/update_service.rb @@ -2,7 +2,8 @@ module Users class UpdateService < BaseService include NewUserNotifier - def initialize(user, params = {}) + def initialize(current_user, user, params = {}) + @current_user = current_user @user = user @params = params.dup end |