Commit 3b6ae621 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'kassio/bitbucketimporters-remove-unused-methods' into 'master'

Remove unnecessary method_missing from Bitbucket impoters

See merge request gitlab-org/gitlab!55541
parents 4e7a2a78 a8903d9c
......@@ -11,13 +11,5 @@ module Bitbucket
lazy
end
def method_missing(method, *args)
return super unless self.respond_to?(method)
self.__send__(method, *args) do |item| # rubocop:disable GitlabSecurity/PublicSend
block_given? ? yield(item) : item
end
end
end
end
......@@ -35,13 +35,5 @@ module BitbucketServer
current_page + 1
end
def method_missing(method, *args)
return super unless self.respond_to?(method)
self.__send__(method, *args) do |item| # rubocop:disable GitlabSecurity/PublicSend
block_given? ? yield(item) : item
end
end
end
end
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