Commit bc91b705 authored by charlie ablett's avatar charlie ablett

Merge branch '246737-remove-early-return' into 'master'

Remove unnecessary early return

See merge request gitlab-org/gitlab!62045
parents 8d852684 67c2cdb3
......@@ -15,11 +15,6 @@ module Security
private
def variables(params)
# This early return is necessary for supporting REST API.
# Will be removed during the implementation of
# https://gitlab.com/gitlab-org/gitlab/-/issues/246737
return params unless params['global'].present?
collect_values(params, 'value')
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