diff options
Diffstat (limited to 'app/graphql/mutations/projects/sync_fork.rb')
-rw-r--r-- | app/graphql/mutations/projects/sync_fork.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/graphql/mutations/projects/sync_fork.rb b/app/graphql/mutations/projects/sync_fork.rb index 4520f6388c5..6a4ec4a26b8 100644 --- a/app/graphql/mutations/projects/sync_fork.rb +++ b/app/graphql/mutations/projects/sync_fork.rb @@ -22,9 +22,6 @@ module Mutations def resolve(project_path:, target_branch:) project = authorized_find!(project_path, target_branch) - return respond(nil, ['Feature flag is disabled']) unless Feature.enabled?(:synchronize_fork, - project.fork_source) - return respond(nil, ['Target branch does not exist']) unless project.repository.branch_exists?(target_branch) details_resolver = Resolvers::Projects::ForkDetailsResolver.new(object: project, context: context, field: nil) |