diff --git a/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs b/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs index 2b2862b6f..dab7c6d85 100644 --- a/src/Squidex.Domain.Apps.Entities/Schemas/BackupSchemas.cs +++ b/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> schemaIds = new HashSet>(); private readonly Dictionary schemasByName = new Dictionary(); 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; }