diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-11-24 15:13:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-24 15:13:50 -0500 |
| commit | 48120d01dc1b73f58eb3b2c17530622320624721 (patch) | |
| tree | 95242d502f276a6ca82f119ca61697a2ff6312cd /Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | |
| parent | db581c4d9b30693cfd16e1d2e4c3f802c50726e5 (diff) | |
| parent | e808e8b2d2184a1759abe29d57be8396a39b598d (diff) | |
Merge pull request #1991 from Bond-009/transtemp
Don't append transcodes to transcoding temp path
Diffstat (limited to 'Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index 0b7c35f3e..67bb25b07 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; -using System.Threading; using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Events; using MediaBrowser.Common.Extensions; @@ -314,8 +313,7 @@ namespace Emby.Server.Implementations.AppBase throw new ArgumentException("Expected configuration type is " + configurationType.Name); } - var validatingStore = configurationStore as IValidatingConfiguration; - if (validatingStore != null) + if (configurationStore is IValidatingConfiguration validatingStore) { var currentConfiguration = GetConfiguration(key); |
