using clauses cleanup

This commit is contained in:
Paul Schneider 2026-08-22 03:34:48 +01:00
commit 7f03dd7272
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
292 changed files with 91 additions and 685 deletions

View file

@ -1,7 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Text;
using Yavsc.ViewModels.UserFiles;
namespace Yavsc.Server.Helpers
@ -42,10 +39,10 @@ namespace Yavsc.Server.Helpers
{
if (name.Any(c => !ValidFileNameChars.Contains(c)))
return false;
if (!name.Any(c => !AlfaNum.Contains(c)))
return false;
return true;
}