Merge remote-tracking branch 'origin/6.2.1' into 7.1.5

This commit is contained in:
Shannon
2014-06-25 12:03:53 +10:00

View File

@@ -11,12 +11,7 @@ namespace Umbraco.Web.Scheduling
public static void Start(object sender)
{
using (DisposableTimer.DebugDuration<KeepAlive>(() => "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);