From e6327316b6b2dc5743e1c4ad36b89f6312c51956 Mon Sep 17 00:00:00 2001 From: Michael Kozono Date: Mon, 22 Apr 2019 23:13:54 +0000 Subject: [PATCH] Remove unused code --- app/models/concerns/storage/legacy_namespace.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/models/concerns/storage/legacy_namespace.rb b/app/models/concerns/storage/legacy_namespace.rb index 498996f4f80..71a799f44fc 100644 --- a/app/models/concerns/storage/legacy_namespace.rb +++ b/app/models/concerns/storage/legacy_namespace.rb @@ -104,11 +104,5 @@ module Storage end end end - - def remove_legacy_exports! - legacy_export_path = File.join(Gitlab::ImportExport.storage_path, full_path_was) - - FileUtils.rm_rf(legacy_export_path) - end end end