Commit 59103596 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Duplicate options in `RepositoryPush`

parent 7e9109c4
...@@ -15,12 +15,12 @@ module Gitlab ...@@ -15,12 +15,12 @@ module Gitlab
@notify = notify @notify = notify
@project_id = project_id @project_id = project_id
@recipient = recipient @recipient = recipient
@opts = opts @opts = opts.dup
@urls = Gitlab::Application.routes.url_helpers @urls = Gitlab::Application.routes.url_helpers
@author_id = opts.delete(:author_id) @author_id = @opts.delete(:author_id)
@ref = opts.delete(:ref) @ref = @opts.delete(:ref)
@action = opts.delete(:action) @action = @opts.delete(:action)
end end
def project def project
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment