completes: U4-6468 Move all 'Strategies' in the Web project that performs Core data operations to the Core project
This commit is contained in:
@@ -5,6 +5,7 @@ using Umbraco.Core.Services;
|
||||
|
||||
namespace Umbraco.Core.Strategies
|
||||
{
|
||||
//TODO: This should just exist in the content service/repo!
|
||||
public sealed class RelateOnCopyHandler : ApplicationEventHandler
|
||||
{
|
||||
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
|
||||
|
||||
@@ -1,17 +1,22 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.Events;
|
||||
using Umbraco.Core.Models;
|
||||
using Umbraco.Core.Publishing;
|
||||
using Umbraco.Web.Cache;
|
||||
|
||||
|
||||
namespace Umbraco.Web.Strategies.Publishing
|
||||
{
|
||||
[Obsolete("This is not used and will be removed from the codebase in future versions")]
|
||||
public class UpdateCacheAfterUnPublish : ApplicationEventHandler
|
||||
{
|
||||
}
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.Events;
|
||||
using Umbraco.Core.Models;
|
||||
using Umbraco.Core.Publishing;
|
||||
using Umbraco.Web.Cache;
|
||||
|
||||
|
||||
namespace Umbraco.Web.Strategies.Publishing
|
||||
{
|
||||
[Obsolete("This is not used and will be removed from the codebase in future versions")]
|
||||
public class UpdateCacheAfterPublish : ApplicationEventHandler
|
||||
{
|
||||
}
|
||||
|
||||
[Obsolete("This is not used and will be removed from the codebase in future versions")]
|
||||
public class UpdateCacheAfterUnPublish : ApplicationEventHandler
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Events;
|
||||
using Umbraco.Core.Models;
|
||||
using Umbraco.Core.Publishing;
|
||||
using Umbraco.Web.Cache;
|
||||
|
||||
namespace Umbraco.Web.Strategies.Publishing
|
||||
{
|
||||
[Obsolete("This is not used and will be removed from the codebase in future versions")]
|
||||
public class UpdateCacheAfterPublish : ApplicationEventHandler
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -897,8 +897,7 @@
|
||||
<Compile Include="Search\ExamineEvents.cs" />
|
||||
<Compile Include="Strategies\DataTypes\LegacyUploadFieldWorkaround.cs" />
|
||||
<Compile Include="Strategies\Migrations\PublishAfterUpgradeToVersionSixth.cs" />
|
||||
<Compile Include="Strategies\Publishing\UpdateCacheAfterPublish.cs" />
|
||||
<Compile Include="Strategies\Publishing\UpdateCacheAfterUnPublish.cs" />
|
||||
<Compile Include="Strategies\LegacyClasses.cs" />
|
||||
<Compile Include="Strategies\Migrations\EnsureAppsTreesUpdatedOnUpgrade.cs" />
|
||||
<Compile Include="Strategies\ServerRegistrationEventHandler.cs" />
|
||||
<Compile Include="Templates\TemplateRenderer.cs" />
|
||||
|
||||
Reference in New Issue
Block a user