remove tasks from startup

This commit is contained in:
Luke Pulverenti
2014-11-28 12:41:47 -05:00
parent cc2d04d5bc
commit 3c8c6abca7
15 changed files with 23 additions and 41 deletions

View File

@@ -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");
}
}
}