summaryrefslogtreecommitdiff
path: root/app/services/projects/update_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/projects/update_service.rb')
-rw-r--r--app/services/projects/update_service.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/services/projects/update_service.rb b/app/services/projects/update_service.rb
index d44f5e637f1..50a544ed1a5 100644
--- a/app/services/projects/update_service.rb
+++ b/app/services/projects/update_service.rb
@@ -87,11 +87,6 @@ module Projects
system_hook_service.execute_hooks_for(project, :update)
end
- if project.visibility_level_decreased? && project.unlink_forks_upon_visibility_decrease_enabled?
- # It's a system-bounded operation, so no extra authorization check is required.
- Projects::UnlinkForkService.new(project, current_user).execute
- end
-
update_pages_config if changing_pages_related_config?
end