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:
authorJames Lopez <james@jameslopez.es>2017-09-20 13:00:33 +0300
committerJames Lopez <james@jameslopez.es>2017-09-28 09:46:39 +0300
commit7188975cb54a2b6902544340a91f94aa1fa82d3c (patch)
tree1875e2d2aa970686280f7e40d67a21dd7dd76f1e /app/services/users/update_service.rb
parent9621dd0c9d31508bdac2e2e226537302b560ef10 (diff)
update initializers
Diffstat (limited to 'app/services/users/update_service.rb')
-rw-r--r--app/services/users/update_service.rb3
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