aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs b/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
deleted file mode 100644
index 9dfb0404e0..0000000000
--- a/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using MediaBrowser.Common.Configuration;
-using MediaBrowser.Model.Configuration;
-using System.Collections.Generic;
-
-namespace MediaBrowser.Server.Implementations.Channels
-{
- public static class ChannelConfigurationExtension
- {
- public static ChannelOptions GetChannelsConfiguration(this IConfigurationManager manager)
- {
- return manager.GetConfiguration<ChannelOptions>("channels");
- }
- }
-
- public class ChannelConfigurationFactory : IConfigurationFactory
- {
- public IEnumerable<ConfigurationStore> GetConfigurations()
- {
- return new List<ConfigurationStore>
- {
- new ConfigurationStore
- {
- Key = "channels",
- ConfigurationType = typeof (ChannelOptions)
- }
- };
- }
- }
-}