U4-8465 Remove Core.Publishing namespace and classes
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user