Commit d23d545b authored by Nick Thomas's avatar Nick Thomas

Merge branch 'osw-enable-forks-removal-ff-by-default' into 'master'

Enable forks removal upon visibility decrease by default

See merge request gitlab-org/gitlab!21834
parents c0f0052c 6455c59c
......@@ -740,7 +740,7 @@ class Project < ApplicationRecord
end
def unlink_forks_upon_visibility_decrease_enabled?
Feature.enabled?(:unlink_fork_network_upon_visibility_decrease, self)
Feature.enabled?(:unlink_fork_network_upon_visibility_decrease, self, default_enabled: true)
end
def empty_repo?
......
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