diff options
| author | Anthony Lavado <anthonylavado@users.noreply.github.com> | 2019-01-05 23:06:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-05 23:06:08 +0000 |
| commit | f2fedb9f34ab290d06201663b70a5ff81757fcb3 (patch) | |
| tree | f769165f387625ccc7aae035c9563503ccce44e0 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | af6c4279eecb7b75334a58ecf8a3b9ceacbd9835 (diff) | |
| parent | db62648510dbe1aa6adda3c88a7560615daa5188 (diff) | |
Merge pull request #383 from Bond-009/unused
Remove firebase and empty resource config file
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 565e5d408..7d012a923 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -2407,53 +2407,6 @@ namespace Emby.Server.Implementations } } } - - private Dictionary<string, string> _values; - public string GetValue(string name) - { - if (_values == null) - { - _values = LoadValues(); - } - - string value; - - if (_values.TryGetValue(name, out value)) - { - return value; - } - - return null; - } - - // TODO: @bond Remove? - private Dictionary<string, string> LoadValues() - { - Dictionary<string, string> values = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); - - using (var stream = typeof(ApplicationHost).Assembly.GetManifestResourceStream(typeof(ApplicationHost).Namespace + ".values.txt")) - { - using (var reader = new StreamReader(stream)) - { - while (!reader.EndOfStream) - { - var line = reader.ReadLine(); - if (string.IsNullOrEmpty(line)) - { - continue; - } - - var index = line.IndexOf('='); - if (index != -1) - { - values[line.Substring(0, index)] = line.Substring(index + 1); - } - } - } - } - - return values; - } } internal class CertificateInfo |
