U4-8465 Remove Core.Publishing namespace and classes

This commit is contained in:
Shannon
2016-05-18 13:10:36 +02:00
parent ddf38407d8
commit e20c1cd0bb
28 changed files with 180 additions and 439 deletions

View File

@@ -4,11 +4,8 @@ using System.Text;
using System.Web.Mvc;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Publishing;
using Umbraco.Core.Services;
using Umbraco.Web.Mvc;
using umbraco;
using umbraco.cms.businesslogic.web;
namespace Umbraco.Web.WebServices
{

View File

@@ -1,14 +1,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Mvc;
using Umbraco.Core;
using Umbraco.Core.Strings;
using Umbraco.Core.Models;
using Umbraco.Core.Publishing;
using Umbraco.Core.Services;
using Umbraco.Web.Mvc;
using umbraco;
namespace Umbraco.Web.WebServices
{

View File

@@ -2,7 +2,7 @@
using System.Web.Mvc;
using umbraco;
using Umbraco.Core.Logging;
using Umbraco.Core.Publishing;
using Umbraco.Core.Services;
using Umbraco.Web.Mvc;
namespace Umbraco.Web.WebServices
@@ -27,8 +27,7 @@ namespace Umbraco.Web.WebServices
// DO not run publishing if content is re-loading
if (content.Instance.isInitializing == false)
{
var publisher = new ScheduledPublisher(Services.ContentService);
publisher.CheckPendingAndProcess();
Services.ContentService.WithResult().PerformScheduledPublish();
}
return Json(new