From ce3395cc1e43cf54cb41bd471f08c558dccd9be8 Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 13 Dec 2018 15:13:56 +1100 Subject: [PATCH] fix build --- .../Repositories/Implement/ContentTypeRepositoryBase.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Umbraco.Core/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs b/src/Umbraco.Core/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs index 06fc25937b..055ed7ae74 100644 --- a/src/Umbraco.Core/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs +++ b/src/Umbraco.Core/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs @@ -790,7 +790,6 @@ AND umbracoNode.id <> @id", .Delete() .WhereIn(x => x.TagId, sqlSelectTagsToDelete); - sqlDeleteRelations.WriteToConsole(); Database.Execute(sqlDeleteRelations); // do *not* delete the tags - they could be used by other content types / property types @@ -831,7 +830,6 @@ AND umbracoNode.id <> @id", var cols = Sql().Columns(x => x.Text, x => x.Group, x => x.LanguageId); var sqlInsertTags = Sql($"INSERT INTO {TagDto.TableName} ({cols})").Append(sqlSelectTagsToInsert); - sqlInsertTags.WriteToConsole(); Database.Execute(sqlInsertTags); // create relations to new tags @@ -860,7 +858,6 @@ AND umbracoNode.id <> @id", var relationColumnsToInsert = Sql().Columns(x => x.NodeId, x => x.PropertyTypeId, x => x.TagId); var sqlInsertRelations = Sql($"INSERT INTO {TagRelationshipDto.TableName} ({relationColumnsToInsert})").Append(sqlSelectRelationsToInsert); - sqlInsertRelations.WriteToConsole(); Database.Execute(sqlInsertRelations); // delete original relations - *not* the tags - all of them @@ -884,7 +881,6 @@ AND umbracoNode.id <> @id", .Delete() .WhereIn(x => x.TagId, sqlSelectTagsToDelete); - sqlDeleteRelations.WriteToConsole(); Database.Execute(sqlDeleteRelations); // no