moves LegacySqlHelper to the only places that needs it now: umbraco.cms,marks as obsolete and internal since its temporary.
This commit is contained in:
@@ -182,9 +182,6 @@
|
||||
<Compile Include="..\SolutionInfo.cs">
|
||||
<Link>Properties\SolutionInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="LegacySqlHelper.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -1,21 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using AutoMapper;
|
||||
using umbraco.DataLayer;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models;
|
||||
using umbraco.DataLayer;
|
||||
|
||||
|
||||
namespace umbraco.BusinessLogic
|
||||
namespace umbraco.cms.businesslogic
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for handling all registered applications in Umbraco.
|
||||
/// </summary>
|
||||
[Obsolete("Use ApplicationContext.Current.Services.SectionService and/or Umbraco.Core.Sections.SectionCollection instead")]
|
||||
public class LegacySqlHelper
|
||||
[Obsolete("Remove this! This is a temporary class whilst we refactor out old code")]
|
||||
internal class LegacySqlHelper
|
||||
{
|
||||
private static ISqlHelper _sqlHelper;
|
||||
|
||||
@@ -173,6 +173,7 @@
|
||||
<Link>Properties\SolutionInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="businesslogic\CMSPreviewNode.cs" />
|
||||
<Compile Include="businesslogic\LegacySqlHelper.cs" />
|
||||
<Compile Include="businesslogic\macro\IMacroEngine.cs" />
|
||||
<Compile Include="businesslogic\macro\MacroEngineFactory.cs" />
|
||||
<Compile Include="businesslogic\macro\MacroModel.cs" />
|
||||
|
||||
Reference in New Issue
Block a user