mirror of
https://github.com/ppy/osu
synced 2024-12-26 08:53:10 +00:00
make tournament migration private
This commit is contained in:
parent
a94dcc4923
commit
e0d5a9182e
@ -30,7 +30,7 @@ namespace osu.Game.Tournament.IO
|
||||
}
|
||||
else
|
||||
{
|
||||
Migrate();
|
||||
migrate();
|
||||
storageConfig.Set(StorageConfig.CurrentTournament, default_tournament);
|
||||
storageConfig.Save();
|
||||
ChangeTargetStorage(UnderlyingStorage.GetStorageForDirectory(default_tournament));
|
||||
@ -40,7 +40,7 @@ namespace osu.Game.Tournament.IO
|
||||
Logger.Log("Using tournament storage: " + GetFullPath(string.Empty));
|
||||
}
|
||||
|
||||
internal void Migrate()
|
||||
private void migrate()
|
||||
{
|
||||
var source = new DirectoryInfo(storage.GetFullPath("tournament"));
|
||||
var destination = new DirectoryInfo(GetFullPath(default_tournament));
|
||||
|
Loading…
Reference in New Issue
Block a user