diff --git a/src/Umbraco.Web/Scheduling/KeepAlive.cs b/src/Umbraco.Web/Scheduling/KeepAlive.cs index e5092c2a7b..0ebce6878b 100644 --- a/src/Umbraco.Web/Scheduling/KeepAlive.cs +++ b/src/Umbraco.Web/Scheduling/KeepAlive.cs @@ -11,12 +11,7 @@ namespace Umbraco.Web.Scheduling public static void Start(object sender) { using (DisposableTimer.DebugDuration(() => "Keep alive executing", () => "Keep alive complete")) - { - //NOTE: sender will be the umbraco ApplicationContext - - var appContext = sender as ApplicationContext; - if (appContext == null) return; - + { var umbracoBaseUrl = ServerEnvironmentHelper.GetCurrentServerUmbracoBaseUrl(); var url = string.Format("{0}/ping.aspx", umbracoBaseUrl);