Commit f23c3794 authored by Max Woolf's avatar Max Woolf

Merge branch 'vshumilo/remove-sync_namespace_name_with_cdot-ff' into 'master'

Remove sync_namespace_name_with_cdot flag

See merge request gitlab-org/gitlab!71763
parents 7eb46e2b 467a3988
......@@ -471,7 +471,6 @@ module EE
end
def sync_name_with_customers_dot
return unless ::Feature.enabled?(:sync_namespace_name_with_cdot)
return unless ::Gitlab.com?
::Namespaces::SyncNamespaceNameWorker.perform_async(id)
......
---
name: sync_namespace_name_with_cdot
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69896
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/341056
milestone: '14.3'
type: development
group: group::license
default_enabled: false
......@@ -365,7 +365,6 @@ RSpec.describe Namespace do
subject(:update_namespace) { namespace.update!(attributes) }
before do
stub_feature_flags(sync_namespace_name_with_cdot: true)
allow(Gitlab).to receive(:com?).and_return(true)
end
......@@ -386,14 +385,6 @@ RSpec.describe Namespace do
context 'when the name is updated' do
let(:attributes) { { name: 'Foo' } }
context 'with :sync_namespace_name_with_cdot feature flag disabled' do
before do
stub_feature_flags(sync_namespace_name_with_cdot: false)
end
include_examples 'no sync'
end
context 'when not on Gitlab.com?' do
before do
allow(Gitlab).to receive(:com?).and_return(false)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment