Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
7188975c
"storage/myisam/sort.c" did not exist on "3ad2158b42a327e325c46c8fbaeabfca6b37f52f"
Commit
7188975c
authored
Sep 20, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update initializers
parent
9621dd0c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/services/emails/base_service.rb
app/services/emails/base_service.rb
+2
-1
app/services/users/update_service.rb
app/services/users/update_service.rb
+2
-1
No files found.
app/services/emails/base_service.rb
View file @
7188975c
module
Emails
class
BaseService
def
initialize
(
user
,
opts
)
def
initialize
(
current_user
,
user
,
opts
)
@current_user
=
current_user
@user
=
user
@email
=
opts
[
:email
]
end
...
...
app/services/users/update_service.rb
View file @
7188975c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment