Skip to content
Snippets Groups Projects
Unverified Commit 8066cf7d authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

call destroy_obsolete_git_files when disconnecting

parent 8519cc6d
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ module Communication::Website::WithConnectedObjects
def disconnect_and_sync(indirect_object, direct_source, direct_source_type: nil)
disconnect(indirect_object, direct_source, direct_source_type: direct_source_type)
direct_source.sync_with_git
destroy_obsolete_git_files
end
# TODO factoriser avec les extranets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment