From 731a189fbef3b49a7e37eceb4bbae60c5ac8b8c5 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Thu, 8 Oct 2020 14:54:42 +0200 Subject: [PATCH] Removed uncommented code --- .../Repositories/Implement/RelationTypeRepository.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationTypeRepository.cs b/src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationTypeRepository.cs index 8e40198bc5..398dd225ba 100644 --- a/src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationTypeRepository.cs +++ b/src/Umbraco.Infrastructure/Persistence/Repositories/Implement/RelationTypeRepository.cs @@ -50,10 +50,6 @@ namespace Umbraco.Core.Persistence.Repositories.Implement { var sql = GetBaseQuery(false); - // // should not happen due to the cache policy - // if (ids.Any()) - // throw new NotImplementedException(); - var dtos = Database.Fetch(sql); return dtos.Select(x => DtoToEntity(x));