From 63c6ea67729deea03997b6b6410135cf637e3a5d Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Mon, 27 May 2024 10:29:41 +0200
Subject: [PATCH] remove unused code

---
 app/models/communication/website.rb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/app/models/communication/website.rb b/app/models/communication/website.rb
index 91802fe1f..a63a74ab7 100644
--- a/app/models/communication/website.rb
+++ b/app/models/communication/website.rb
@@ -159,9 +159,6 @@ class Communication::Website < ApplicationRecord
     recursive_dependencies(syncable_only: true, follow_direct: true).each do |object|
       Communication::Website::GitFile.sync website, object
     end
-    references.each do |object|
-      Communication::Website::GitFile.sync website, object
-    end
     git_repository.sync!
   end
 
-- 
GitLab