Commit 59103596 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Duplicate options in `RepositoryPush`

parent 7e9109c4
......@@ -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
......
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