aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Core/Configuration/ServerConfigurationManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-27 22:17:26 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-27 22:17:26 -0500
commitf616aee90b1a27a573302740cfa17d420a2b6bc1 (patch)
tree0cfd759be713b8cfeff5cc49bcf0e83e95ca2465 /Emby.Server.Core/Configuration/ServerConfigurationManager.cs
parent558219132a44d703c4c9b45a90141187d6101e51 (diff)
update xmltv parsing
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>