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 ...@@ -15,11 +15,6 @@ module Security
private private
def variables(params) 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') collect_values(params, 'value')
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