diff options
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 |