diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-20 03:10:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-20 03:10:22 +0300 |
commit | 2f37c1fa002f7be0f978d82bfe545305be48093e (patch) | |
tree | e0e9d505434e88363fc607ca00d7cb39e94a3f70 /lib/api/helpers.rb | |
parent | 9bc3ee9ad4c857570b7a029345cc6fff3ed46b5f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 38430aac455..55aac68daaa 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -698,8 +698,6 @@ module API end def validate_search_rate_limit! - return unless Feature.enabled?(:rate_limit_issuable_searches) - if current_user check_rate_limit!(:search_rate_limit, scope: [current_user]) else |