1
0
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:
Dean Herbert 2017-08-01 10:20:28 +09:00
parent c73e139954
commit 821f65c381

View File

@ -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)
{