From f9022d81895d67bc47e4c7d7cc87850fc405bd5b Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 24 Sep 2013 16:31:26 +0200 Subject: [PATCH] Cleanup project after merge --- .../PublishedContent/PublishedContentType.cs | 2 +- .../PropertyEditors/PropertyValueConverter.cs | 18 ------------------ src/Umbraco.Core/Umbraco.Core.csproj | 1 - 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 src/Umbraco.Core/PropertyEditors/PropertyValueConverter.cs diff --git a/src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs b/src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs index 8f6c33bec2..3ff274a596 100644 --- a/src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs +++ b/src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs @@ -121,7 +121,7 @@ namespace Umbraco.Core.Models.PublishedContent // properties ie both its own properties and those that were inherited (it's based upon an // IContentTypeComposition) and so every PublishedContentType having a property based upon // the cleared data type, be it local or inherited, will be cleared. - ApplicationContext.Current.ApplicationCache.StaticCache.ClearCacheObjectTypes( // fixme NOT! + ApplicationContext.Current.ApplicationCache.StaticCache.ClearCacheObjectTypes( (key, value) => value.PropertyTypes.Any(x => x.DataTypeId == id)); } diff --git a/src/Umbraco.Core/PropertyEditors/PropertyValueConverter.cs b/src/Umbraco.Core/PropertyEditors/PropertyValueConverter.cs deleted file mode 100644 index 648fbeeb64..0000000000 --- a/src/Umbraco.Core/PropertyEditors/PropertyValueConverter.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Umbraco.Core.Models; - -// fixme - delete file -//namespace Umbraco.Core.PropertyEditors -//{ -// /// -// /// Used to convert property values from various sources to various destination formats for use with caching -// /// -// public abstract class PropertyValueConverter -// { -// /// -// /// Returns the alias of the PropertyEditor that this converter is for -// /// -// public abstract string AssociatedPropertyEditorAlias { get; } - -// public abstract Attempt ConvertSourceToObject(object valueToConvert, PublishedPropertyDefinition propertyDefinition, bool isPreviewing); -// } -//} \ No newline at end of file diff --git a/src/Umbraco.Core/Umbraco.Core.csproj b/src/Umbraco.Core/Umbraco.Core.csproj index 590fb7b1af..3d7b980125 100644 --- a/src/Umbraco.Core/Umbraco.Core.csproj +++ b/src/Umbraco.Core/Umbraco.Core.csproj @@ -745,7 +745,6 @@ -