Commit 6455c59c authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Enable forks removal upon visibility decrease by default

parent 4ebca08d
...@@ -741,7 +741,7 @@ class Project < ApplicationRecord ...@@ -741,7 +741,7 @@ class Project < ApplicationRecord
end end
def unlink_forks_upon_visibility_decrease_enabled? 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 end
def empty_repo? 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