aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs')
-rw-r--r--Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs5
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)