diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-22 23:13:55 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-22 23:13:55 +0000 |
commit | 46bdbc5d776a0438366426e0ef48911123311744 (patch) | |
tree | c4c102a36f1db007e1f71403a6feba7e25127281 | |
parent | 84a1e37f4a889c6b7558f101dc0ecf2932d0a0c6 (diff) | |
parent | e6327316b6b2dc5743e1c4ad36b89f6312c51956 (diff) | |
download | gitlab-ce-46bdbc5d776a0438366426e0ef48911123311744.tar.gz |
Merge branch 'mk/remove-unused-code' into 'master'
Remove unused code
See merge request gitlab-org/gitlab-ce!27557
-rw-r--r-- | app/models/concerns/storage/legacy_namespace.rb | 6 |
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 |