Don't link LFS-objects multiple times.
What does this MR do?
This makes sure we don't try to link LFS-objects to a project multiple times. This could be the case when destroying a fork with LFS objects.
I'm not sure this will fix the underlying issue @jramsay had (https://gitlab.com/gitlab-com/support-forum/issues/2833), but it fixes the issue @stanhu observed in https://gitlab.com/gitlab-com/support-forum/issues/2833#note_51870524.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Closes #41241 (closed)
Edited by Bob Van Landuyt