From 7d7b75c099382491a3f7ee196bccd72d3b603411 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 2 Jun 2013 20:17:18 -0400 Subject: [PATCH] removed dead code --- MediaBrowser.Api/PluginService.cs | 54 ------------------------------- 1 file changed, 54 deletions(-) diff --git a/MediaBrowser.Api/PluginService.cs b/MediaBrowser.Api/PluginService.cs index f3f0b3a8fb..33c09bbfea 100644 --- a/MediaBrowser.Api/PluginService.cs +++ b/MediaBrowser.Api/PluginService.cs @@ -23,21 +23,6 @@ namespace MediaBrowser.Api { } - /// - /// Class GetPluginAssembly - /// - [Route("/Plugins/{Id}/Assembly", "GET")] - [Api(("Gets a plugin assembly file"))] - public class GetPluginAssembly - { - /// - /// Gets or sets the id. - /// - /// The id. - [ApiMember(Name = "Id", Description = "Plugin Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] - public Guid Id { get; set; } - } - /// /// Class UninstallPlugin /// @@ -89,21 +74,6 @@ namespace MediaBrowser.Api public Stream RequestStream { get; set; } } - /// - /// Class GetPluginConfigurationFile - /// - [Route("/Plugins/{Id}/ConfigurationFile", "GET")] - [Api(("Gets a plugin's configuration file, in plain text"))] - public class GetPluginConfigurationFile - { - /// - /// Gets or sets the id. - /// - /// The id. - [ApiMember(Name = "Id", Description = "Plugin Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] - public Guid Id { get; set; } - } - /// /// Class GetPluginSecurityInfo /// @@ -201,18 +171,6 @@ namespace MediaBrowser.Api return ToOptimizedResult(result); } - /// - /// Gets the specified request. - /// - /// The request. - /// System.Object. - public object Get(GetPluginAssembly request) - { - var plugin = _appHost.Plugins.First(p => p.Id == request.Id); - - return ResultFactory.GetStaticFileResult(RequestContext, plugin.AssemblyFilePath); - } - /// /// Gets the specified request. /// @@ -229,18 +187,6 @@ namespace MediaBrowser.Api return ToOptimizedResultUsingCache(cacheKey, dateModified, null, () => plugin.Configuration); } - /// - /// Gets the specified request. - /// - /// The request. - /// System.Object. - public object Get(GetPluginConfigurationFile request) - { - var plugin = _appHost.Plugins.First(p => p.Id == request.Id); - - return ResultFactory.GetStaticFileResult(RequestContext, plugin.ConfigurationFilePath); - } - /// /// Gets the specified request. ///