diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-10-11 23:50:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-11 23:50:36 +0100 |
| commit | 387fdb0f1376f65b342c10e5222d7c0b56cdd8e5 (patch) | |
| tree | 353e0d61cdb43383c0c8604aa1e12d6f14d096d6 /Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | |
| parent | ed05ae683e49bd9771f5817eb81a10fe40e49d94 (diff) | |
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index dd4c44e1a..ca52b80cc 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -139,11 +139,6 @@ namespace Emby.Server.Implementations.AppBase /// <typeparam name="T">Class to register.</typeparam> public virtual void RegisterConfiguration<T>() where T : IConfigurationFactory { - if (!typeof(IConfigurationFactory).IsAssignableFrom(typeof(T))) - { - throw new ArgumentException("Parameter does not implement IConfigurationFactory"); - } - IConfigurationFactory factory = (IConfigurationFactory)Activator.CreateInstance(typeof(T)); if (_configurationFactories == null) |
