Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-06-15 15:06:49 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-06-28 13:32:34 +0300
commit34f57b462bc14ad194cf890a4585d403bdbde55c (patch)
tree6edd502ba8b3c0bca4e8b77492ac0936d3c52cf2 /app/services/users
parent8e8eb97861a8a93625590274af8382e9333cbf91 (diff)
Fix current feature related specs
Diffstat (limited to 'app/services/users')
-rw-r--r--app/services/users/destroy_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/users/destroy_service.rb b/app/services/users/destroy_service.rb
index 673afb8b5b9..9d7237c2fbb 100644
--- a/app/services/users/destroy_service.rb
+++ b/app/services/users/destroy_service.rb
@@ -35,7 +35,7 @@ module Users
Groups::DestroyService.new(group, current_user).execute
end
- user.personal_projects.with_deleted.each do |project|
+ user.personal_projects.each do |project|
# Skip repository removal because we remove directory with namespace
# that contain all this repositories
::Projects::DestroyService.new(project, current_user, skip_repo: true).execute