Browse Source

Cleanup.

pull/329/head
Sebastian Stehle 7 years ago
parent
commit
1b531ecea6
  1. 2
      src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs

2
src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs

@ -21,7 +21,6 @@ namespace Squidex.Domain.Apps.Entities.Schemas
{
public sealed class BackupSchemas : BackupHandler
{
private readonly HashSet<NamedId<Guid>> schemaIds = new HashSet<NamedId<Guid>>();
private readonly Dictionary<string, Guid> schemasByName = new Dictionary<string, Guid>();
private readonly FieldRegistry fieldRegistry;
private readonly IGrainFactory grainFactory;
@ -43,7 +42,6 @@ namespace Squidex.Domain.Apps.Entities.Schemas
switch (@event.Payload)
{
case SchemaCreated schemaCreated:
schemaIds.Add(schemaCreated.SchemaId);
schemasByName[schemaCreated.SchemaId.Name] = schemaCreated.SchemaId.Id;
break;
}

Loading…
Cancel
Save