Cleanup, get rid of warnings

This commit is contained in:
Stephan
2018-05-03 15:09:56 +02:00
parent bcf46eceb6
commit 3495331005
24 changed files with 31 additions and 68 deletions

View File

@@ -52,7 +52,6 @@ namespace Umbraco.Web.HealthCheck.Checks.Services
var success = false;
// appPath is the virtual application root path on the server
var appPath = "";
var config = WebConfigurationManager.OpenWebConfiguration(_runtime.ApplicationVirtualPath);
var settings = (MailSettingsSectionGroup)config.GetSectionGroup("system.net/mailSettings");
if (settings == null)