diff options
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index f4e39524e47..b66ec28b659 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -2561,7 +2561,7 @@ class Project < ApplicationRecord end def leave_pool_repository - pool_repository&.mark_obsolete_if_last(repository) && update_column(:pool_repository_id, nil) + pool_repository&.unlink_repository(repository) && update_column(:pool_repository_id, nil) end def link_pool_repository |