Browse Source

Cleanup

pull/235/head
Sebastian Stehle 8 years ago
parent
commit
daffd0ed89
  1. 6
      src/Squidex.Infrastructure/Commands/DomainObjectBase.cs

6
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);

Loading…
Cancel
Save