diff options
| author | Andrew Rabert <6550543+nvllsvm@users.noreply.github.com> | 2019-01-09 22:08:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-09 22:08:58 -0500 |
| commit | 3d867c2c46cec39b669bb8647efef677f32b8a8d (patch) | |
| tree | 27b625d8f61e7b120494d0934da27a9b31bcef43 /Emby.Server.Implementations/EnvironmentInfo | |
| parent | 7a832045d6c166bdd59fd43d0166ca309a19193b (diff) | |
| parent | f520ddc9662ec65538374d40f516c5fe6c67bb16 (diff) | |
Merge pull request #516 from Bond-009/env
Remove useless properties from IEnvironmentInfo
Diffstat (limited to 'Emby.Server.Implementations/EnvironmentInfo')
| -rw-r--r-- | Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs b/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs index 03e10e7ea..655867577 100644 --- a/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs +++ b/Emby.Server.Implementations/EnvironmentInfo/EnvironmentInfo.cs @@ -1,11 +1,9 @@ using System; -using System.IO; using MediaBrowser.Model.System; using System.Runtime.InteropServices; namespace Emby.Server.Implementations.EnvironmentInfo { - // TODO: Rework @bond public class EnvironmentInfo : IEnvironmentInfo { public EnvironmentInfo(MediaBrowser.Model.System.OperatingSystem operatingSystem) @@ -39,29 +37,6 @@ namespace Emby.Server.Implementations.EnvironmentInfo } } - public char PathSeparator - { - get - { - return Path.PathSeparator; - } - } - public Architecture SystemArchitecture { get { return RuntimeInformation.OSArchitecture; } } - - public string GetEnvironmentVariable(string name) - { - return Environment.GetEnvironmentVariable(name); - } - - public string StackTrace - { - get { return Environment.StackTrace; } - } - - public void SetProcessEnvironmentVariable(string name, string value) - { - Environment.SetEnvironmentVariable(name, value); - } } } |
