Remove usages of FileSafety class.

This commit is contained in:
Huo Yaoyuan
2019-11-19 20:34:35 +08:00
parent c126cd8b01
commit 6b3c7c8421
4 changed files with 12 additions and 10 deletions

View File

@ -13,7 +13,6 @@ using Microsoft.EntityFrameworkCore;
using osu.Framework;
using osu.Framework.Extensions;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.IO.File;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Framework.Threading;
@ -493,7 +492,7 @@ namespace osu.Game.Database
{
fileInfos.Add(new TFileModel
{
Filename = FileSafety.PathStandardise(file.Substring(prefix.Length)),
Filename = file.Substring(prefix.Length).PathStandardise(),
FileInfo = files.Add(s)
});
}