mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
remove use of Environment
This commit is contained in:
@@ -136,8 +136,6 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
var result = new DefaultDirectoryBrowserInfo();
|
||||
|
||||
if (Environment.OSVersion.Platform == PlatformID.Unix)
|
||||
{
|
||||
try
|
||||
{
|
||||
var qnap = "/share/CACHEDEV1_DATA";
|
||||
@@ -150,7 +148,6 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return ToOptimizedResult(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user