From 3c8c6abca7c1f61a3f693b01eb567b1e1126d067 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 28 Nov 2014 12:41:47 -0500 Subject: remove tasks from startup --- .../Configuration/ServerConfigurationManager.cs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs') diff --git a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs index 4abe56aca..b9896e9ce 100644 --- a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs +++ b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs @@ -134,20 +134,6 @@ namespace MediaBrowser.Server.Implementations.Configuration { throw new ArgumentException("Invalid path substitution"); } - - if (!map.From.EndsWith(":\\") && !map.From.EndsWith(":/")) - { - map.From = map.From.TrimEnd('/').TrimEnd('\\'); - } - if (!map.To.EndsWith(":\\") && !map.To.EndsWith(":/")) - { - map.To = map.To.TrimEnd('/').TrimEnd('\\'); - } - - if (string.IsNullOrWhiteSpace(map.From) || string.IsNullOrWhiteSpace(map.To)) - { - throw new ArgumentException("Invalid path substitution"); - } } } -- cgit v1.2.3