Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-20 03:10:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-20 03:10:22 +0300
commit2f37c1fa002f7be0f978d82bfe545305be48093e (patch)
treee0e9d505434e88363fc607ca00d7cb39e94a3f70 /lib/api/helpers.rb
parent9bc3ee9ad4c857570b7a029345cc6fff3ed46b5f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb2
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