mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Unwrapped MoveDirectory, DirectoryExists, FileExists & removed MoveFile
This commit is contained in:
@@ -1008,7 +1008,7 @@ namespace Emby.Server.Implementations
|
||||
|
||||
try
|
||||
{
|
||||
if (!FileSystemManager.FileExists(certificateLocation))
|
||||
if (!File.Exists(certificateLocation))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@@ -1434,7 +1434,7 @@ namespace Emby.Server.Implementations
|
||||
|
||||
//if (generateCertificate)
|
||||
//{
|
||||
// if (!FileSystemManager.FileExists(certPath))
|
||||
// if (!File.Exists(certPath))
|
||||
// {
|
||||
// FileSystemManager.CreateDirectory(FileSystemManager.GetDirectoryName(certPath));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user