completes: U4-6468 Move all 'Strategies' in the Web project that performs Core data operations to the Core project

This commit is contained in:
Shannon
2015-03-30 17:40:36 +11:00
parent 58857c5d83
commit fb24becd0d
4 changed files with 23 additions and 34 deletions

View File

@@ -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)

View File

@@ -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
{
}
}

View File

@@ -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
{
}
}

View File

@@ -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" />