diff options
author | Sean McGivern <sean@gitlab.com> | 2018-10-17 15:55:45 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-10-17 15:55:45 +0300 |
commit | e36f824ae991a6765026ac8df04b79abbd5f70ad (patch) | |
tree | b75e81a67ea9e81a4f759844e0c301251cfc593d | |
parent | 071b39a22c8a3efc4e3a0531c71e1e8161b78f47 (diff) |
Remove use_cte_for_group_issues_search flag
-rw-r--r-- | app/finders/issuable_finder.rb | 1 | ||||
-rw-r--r-- | spec/controllers/groups_controller_spec.rb | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb index 1f98ecf95ca..17e9b59b355 100644 --- a/app/finders/issuable_finder.rb +++ b/app/finders/issuable_finder.rb @@ -363,7 +363,6 @@ class IssuableFinder def use_cte_for_search? return false unless search return false unless Gitlab::Database.postgresql? - return false unless Feature.enabled?(:use_cte_for_group_issues_search, default_enabled: true) params[:use_cte_for_search] end diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb index a099cdafa58..ff27e057b31 100644 --- a/spec/controllers/groups_controller_spec.rb +++ b/spec/controllers/groups_controller_spec.rb @@ -226,11 +226,6 @@ describe GroupsController do end context 'searching' do - # Remove as part of https://gitlab.com/gitlab-org/gitlab-ce/issues/52271 - before do - stub_feature_flags(use_cte_for_group_issues_search: false) - end - it 'works with popularity sort' do get :issues, id: group.to_param, search: 'foo', sort: 'popularity' |