diff options
author | Valery Sizov <valery@gitlab.com> | 2018-08-13 14:54:31 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2018-08-17 12:23:27 +0300 |
commit | fbf618fc3817442ef17848b67738ff456d65e7e4 (patch) | |
tree | 9ff5c3affb8c9fad044d5fd60942c8fb5666574e /app/services/projects/destroy_service.rb | |
parent | 5bf9f5b67bf50f2fd3dd8f7fb67239c958b25c9a (diff) |
Fix: Project deletion may not log audit events during user deletion
Diffstat (limited to 'app/services/projects/destroy_service.rb')
-rw-r--r-- | app/services/projects/destroy_service.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/services/projects/destroy_service.rb b/app/services/projects/destroy_service.rb index 46a8a5e4d98..76e22507698 100644 --- a/app/services/projects/destroy_service.rb +++ b/app/services/projects/destroy_service.rb @@ -83,9 +83,6 @@ module Projects end def remove_repository(path) - # Skip repository removal. We use this flag when remove user or group - return true if params[:skip_repo] == true - # There is a possibility project does not have repository or wiki return true unless repo_exists?(path) |