From e5980f868643e4e92448bbfb31a0fedae3929691 Mon Sep 17 00:00:00 2001 From: Fernando Fernández Date: Tue, 7 Sep 2021 17:53:35 +0200 Subject: Fix typo in comment and remove useless ones --- .../ModelConfiguration/DisplayPreferencesConfiguration.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Jellyfin.Server.Implementations/ModelConfiguration/DisplayPreferencesConfiguration.cs') diff --git a/Jellyfin.Server.Implementations/ModelConfiguration/DisplayPreferencesConfiguration.cs b/Jellyfin.Server.Implementations/ModelConfiguration/DisplayPreferencesConfiguration.cs index 807078803..9b437861b 100644 --- a/Jellyfin.Server.Implementations/ModelConfiguration/DisplayPreferencesConfiguration.cs +++ b/Jellyfin.Server.Implementations/ModelConfiguration/DisplayPreferencesConfiguration.cs @@ -12,15 +12,11 @@ namespace Jellyfin.Server.Implementations.ModelConfiguration /// public void Configure(EntityTypeBuilder builder) { - // Delete behaviour - builder .HasMany(d => d.HomeSections) .WithOne() .OnDelete(DeleteBehavior.Cascade); - // Indexes - builder .HasIndex(entity => new { entity.UserId, entity.ItemId, entity.Client }) .IsUnique(); -- cgit v1.2.3