The Free Software Media System - Server Backend & API
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
BaronGreenback387fdb0f1376
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.csindex dd4c44e1af..ca52b80cca 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)