Commit 67c2cdb3 authored by rossfuhrman's avatar rossfuhrman

Remove unnecessary early return

We have moved away from the REST API that made this early return
necessary and we have closed out
https://gitlab.com/gitlab-org/gitlab/-/issues/246737
parent 72cbaea7
......@@ -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