Duplicate options in RepositoryPush
This commit is contained in:
parent
7e9109c43b
commit
591035968d
1 changed files with 4 additions and 4 deletions
|
@ -15,12 +15,12 @@ module Gitlab
|
|||
@notify = notify
|
||||
@project_id = project_id
|
||||
@recipient = recipient
|
||||
@opts = opts
|
||||
@opts = opts.dup
|
||||
@urls = Gitlab::Application.routes.url_helpers
|
||||
|
||||
@author_id = opts.delete(:author_id)
|
||||
@ref = opts.delete(:ref)
|
||||
@action = opts.delete(:action)
|
||||
@author_id = @opts.delete(:author_id)
|
||||
@ref = @opts.delete(:ref)
|
||||
@action = @opts.delete(:action)
|
||||
end
|
||||
|
||||
def project
|
||||
|
|
Loading…
Reference in a new issue