Refactor variations

This commit is contained in:
Stephan
2018-06-20 14:18:57 +02:00
parent a697608529
commit ecf9a928d7
56 changed files with 1121 additions and 897 deletions

View File

@@ -1056,7 +1056,7 @@ namespace Umbraco.Core.Services.Implement
// not varying, or invariant culture
// simply unpublish the document
if (!content.ContentType.Variations.DoesSupportCulture() || culture.IsNullOrWhiteSpace())
if (!content.ContentType.VariesByCulture() || culture.IsNullOrWhiteSpace())
{
var unpublished = UnpublishScoped(scope, content, evtMsgs, userId);
if (unpublished.Success) scope.Complete();