aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-28 12:41:47 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-28 12:41:47 -0500
commit3c8c6abca7c1f61a3f693b01eb567b1e1126d067 (patch)
tree5287e3ae734f14bc3883e709f0dddb8de4627251 /MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs
parentcc2d04d5bc85bbe824548ffa4bc43992afe819a3 (diff)
remove tasks from startup
Diffstat (limited to 'MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs14
1 files changed, 0 insertions, 14 deletions
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");
- }
}
}