Skip to content
Snippets Groups Projects
Commit b31c5332 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Revert unneeded change in project destroy service

parent ed0547b7
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -29,6 +29,7 @@ module Projects
 
Project.transaction do
project.team.truncate
project.destroy!
 
unless remove_legacy_registry_tags
raise_error('Failed to remove some tags in project container registry. Please try again or contact administrator.')
Loading
Loading
@@ -41,8 +42,6 @@ module Projects
unless remove_repository(wiki_path)
raise_error('Failed to remove wiki repository. Please try again or contact administrator.')
end
project.destroy!
end
 
log_info("Project \"#{project.path_with_namespace}\" was removed")
Loading
Loading
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