diff --git a/src/Umbraco.Core/Deploy/IDataTypeConfigurationConnector.cs b/src/Umbraco.Core/Deploy/IDataTypeConfigurationConnector.cs
new file mode 100644
index 0000000000..f2a08575b5
--- /dev/null
+++ b/src/Umbraco.Core/Deploy/IDataTypeConfigurationConnector.cs
@@ -0,0 +1,34 @@
+using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
+
+namespace Umbraco.Core.Deploy
+{
+ ///
+ /// Defines methods that can convert a data type configurations to / from an environment-agnostic string.
+ ///
+ /// Configurations may contain values such as content identifiers, that would be local
+ /// to one environment, and need to be converted in order to be deployed.
+ [SuppressMessage("ReSharper", "UnusedMember.Global", Justification = "This is actual only used by Deploy, but we dont want third parties to have references on deploy, thats why this interface is part of core.")]
+ public interface IDataTypeConfigurationConnector
+ {
+ ///
+ /// Gets the property editor aliases that the value converter supports by default.
+ ///
+ IEnumerable PropertyEditorAliases { get; }
+
+ ///
+ /// Gets the environment-agnostic data type configurations corresponding to environment-specific configurations.
+ ///
+ /// The environment-specific configuration.
+ /// The dependencies.
+ ///
+ IDictionary ConvertToDeploy(IDictionary configuration, ICollection dependencies);
+
+ ///
+ /// Gets the environment-specific data type configurations corresponding to environment-agnostic configurations.
+ ///
+ /// The environment-agnostic configuration.
+ ///
+ IDictionary ConvertToLocalEnvironment(IDictionary configuration);
+ }
+}
diff --git a/src/Umbraco.Core/Deploy/IPreValueConnector.cs b/src/Umbraco.Core/Deploy/IPreValueConnector.cs
deleted file mode 100644
index 2a8f4e622d..0000000000
--- a/src/Umbraco.Core/Deploy/IPreValueConnector.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System.Collections.Generic;
-
-namespace Umbraco.Core.Deploy
-{
- ///
- /// Defines methods that can convert a preValue to / from an environment-agnostic string.
- ///
- /// PreValues may contain values such as content identifiers, that would be local
- /// to one environment, and need to be converted in order to be deployed.
- public interface IPreValueConnector // fixme/task: rename to IDataTypeConfigurationConnector + kill all "preValues" name usage
- {
- ///
- /// Gets the property editor aliases that the value converter supports by default.
- ///
- IEnumerable PropertyEditorAliases { get; }
-
- ///
- /// Gets the environment-agnostic preValues corresponding to environment-specific preValues.
- ///
- /// The environment-specific preValues.
- /// The dependencies.
- ///
- IDictionary ConvertToDeploy(IDictionary preValues, ICollection dependencies);
-
- ///
- /// Gets the environment-specific preValues corresponding to environment-agnostic preValues.
- ///
- /// The environment-agnostic preValues.
- ///
- IDictionary ConvertToLocalEnvironment(IDictionary preValues);
- }
-}
diff --git a/src/Umbraco.Core/Umbraco.Core.csproj b/src/Umbraco.Core/Umbraco.Core.csproj
index 0ff88da2f3..9a52cb8dc5 100755
--- a/src/Umbraco.Core/Umbraco.Core.csproj
+++ b/src/Umbraco.Core/Umbraco.Core.csproj
@@ -331,6 +331,7 @@
+
@@ -564,7 +565,6 @@
-
diff --git a/src/Umbraco.Web/PublishedContentExtensions.cs b/src/Umbraco.Web/PublishedContentExtensions.cs
index 530c9bd9b4..98a5a9a6f0 100644
--- a/src/Umbraco.Web/PublishedContentExtensions.cs
+++ b/src/Umbraco.Web/PublishedContentExtensions.cs
@@ -956,13 +956,6 @@ namespace Umbraco.Web
{
if (content == null) throw new ArgumentNullException(nameof(content)); // fixme/task wtf is this?
- return content.Children.Where(x =>
- {
- if (!x.ContentType.VariesByCulture()) return true; // invariant = always ok
- return x.HasCulture(culture);
- return false;
- });
-
return content.Children.WhereIsInvariantOrHasCulture(culture);
}