From daffd0ed89ccdc91ac73ad0947593daee0350624 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Wed, 24 Jan 2018 22:06:42 +0100 Subject: [PATCH] Cleanup --- src/Squidex.Infrastructure/Commands/DomainObjectBase.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs b/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs index 7327a058d..fd7e62c36 100644 --- a/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs +++ b/src/Squidex.Infrastructure/Commands/DomainObjectBase.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Threading.Tasks; using Squidex.Infrastructure.EventSourcing; using Squidex.Infrastructure.States; @@ -79,11 +78,6 @@ namespace Squidex.Infrastructure.Commands public Task WriteSnapshotAsync() { - if (persistence.Version == EtagVersion.NotFound) - { - Debugger.Break(); - } - snapshot.Version = persistence.Version; return persistence.WriteSnapshotAsync(snapshot);