From 4a21675a0abcbe026a49c0044732c33ee4f106fa Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 9 Aug 2017 23:42:31 +1000 Subject: [PATCH] removes null check on email since this will cause the log to fill up, we already check for null below anyways. --- .../HealthCheck/NotificationMethods/EmailNotificationMethod.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Umbraco.Web/HealthCheck/NotificationMethods/EmailNotificationMethod.cs b/src/Umbraco.Web/HealthCheck/NotificationMethods/EmailNotificationMethod.cs index bfce87fde0..985ba90bc0 100644 --- a/src/Umbraco.Web/HealthCheck/NotificationMethods/EmailNotificationMethod.cs +++ b/src/Umbraco.Web/HealthCheck/NotificationMethods/EmailNotificationMethod.cs @@ -39,7 +39,6 @@ namespace Umbraco.Web.HealthCheck.NotificationMethods : base(enabled, failureOnly, verbosity) { if (textService == null) throw new ArgumentNullException("textService"); - if (string.IsNullOrWhiteSpace(recipientEmail)) throw new ArgumentException("Value cannot be null or whitespace.", "recipientEmail"); _textService = textService; RecipientEmail = recipientEmail; Verbosity = verbosity;