summaryrefslogtreecommitdiff
path: root/app/helpers/search_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-06 15:09:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-06 15:09:03 +0000
commit67fa8362ae35ab6134454aa74ad536eb405dff29 (patch)
tree8adb151eabf5467dd3c3ee7dfbd0a7df70c5fd51 /app/helpers/search_helper.rb
parent669ad9e431c7647f01bda681aab2c0ad2cb58826 (diff)
downloadgitlab-ce-67fa8362ae35ab6134454aa74ad536eb405dff29.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r--app/helpers/search_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index bed74b938bd..0bbaca85ca8 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -443,7 +443,7 @@ module SearchHelper
return false unless can?(current_user, :read_users_list)
return true if @group
- Feature.enabled?(:global_search_users_tab, current_user, type: :ops, default_enabled: :yaml)
+ Feature.enabled?(:global_search_users_tab, current_user, type: :ops)
end
def issuable_state_to_badge_class(issuable)