aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Core/Configuration/ServerConfigurationManager.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-02-06 01:08:55 -0500
committerGitHub <noreply@github.com>2017-02-06 01:08:55 -0500
commit2ceaa50ea737e88aca74c4af16a5c969e07d5f5a (patch)
treef74ffd55b84f50b36f7f99b75dc10c5c27bc5b91 /Emby.Server.Core/Configuration/ServerConfigurationManager.cs
parent84d2a5303b2eee311628876851335b7b926aa2ea (diff)
parent6f1a300bdef907415160728670726735067efc7a (diff)
Merge pull request #2445 from MediaBrowser/beta
Beta
Diffstat (limited to 'Emby.Server.Core/Configuration/ServerConfigurationManager.cs')
-rw-r--r--Emby.Server.Core/Configuration/ServerConfigurationManager.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/Emby.Server.Core/Configuration/ServerConfigurationManager.cs b/Emby.Server.Core/Configuration/ServerConfigurationManager.cs
index f98c096ca..eb3d8b9f9 100644
--- a/Emby.Server.Core/Configuration/ServerConfigurationManager.cs
+++ b/Emby.Server.Core/Configuration/ServerConfigurationManager.cs
@@ -141,7 +141,6 @@ namespace Emby.Server.Core.Configuration
{
var newConfig = (ServerConfiguration)newConfiguration;
- ValidatePathSubstitutions(newConfig);
ValidateMetadataPath(newConfig);
ValidateSslCertificate(newConfig);
@@ -173,17 +172,6 @@ namespace Emby.Server.Core.Configuration
}
}
- private void ValidatePathSubstitutions(ServerConfiguration newConfig)
- {
- foreach (var map in newConfig.PathSubstitutions)
- {
- if (string.IsNullOrWhiteSpace(map.From) || string.IsNullOrWhiteSpace(map.To))
- {
- throw new ArgumentException("Invalid path substitution");
- }
- }
- }
-
/// <summary>
/// Validates the metadata path.
/// </summary>