summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2019-04-22 23:13:54 +0000
committerStan Hu <stanhu@gmail.com>2019-04-22 23:13:54 +0000
commite6327316b6b2dc5743e1c4ad36b89f6312c51956 (patch)
treec4c102a36f1db007e1f71403a6feba7e25127281
parent84a1e37f4a889c6b7558f101dc0ecf2932d0a0c6 (diff)
downloadgitlab-ce-e6327316b6b2dc5743e1c4ad36b89f6312c51956.tar.gz
Remove unused code
-rw-r--r--app/models/concerns/storage/legacy_namespace.rb6
1 files changed, 0 insertions, 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