mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Actually delete files
This commit is contained in:
parent
c73e139954
commit
821f65c381
@ -41,7 +41,7 @@ namespace osu.Game.IO
|
||||
try
|
||||
{
|
||||
foreach (var f in Query<FileInfo>())
|
||||
Storage.Delete(Path.Combine(prefix, f.Hash));
|
||||
Storage.Delete(Path.Combine(prefix, f.StoragePath));
|
||||
}
|
||||
catch
|
||||
{
|
||||
@ -150,7 +150,7 @@ namespace osu.Game.IO
|
||||
try
|
||||
{
|
||||
Connection.Delete(f);
|
||||
Storage.Delete(Path.Combine(prefix, f.Hash));
|
||||
Storage.Delete(Path.Combine(prefix, f.StoragePath));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user