diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-24 01:59:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-24 01:59:25 +0000 |
| commit | 076a13abeb344f7a79d81cce030799c8e77dbfaf (patch) | |
| tree | 4a8ca89b77a636e37dc6e6396118fa074f9a2f90 /Emby.Server.Implementations/Data/BaseSqliteRepository.cs | |
| parent | 259bc231d6a42171fb13db77a7694bf4a83d3478 (diff) | |
| parent | b880dc8a4a2d1820c6063f441edce42ab399d79e (diff) | |
Merge pull request #7029 from cvium/allocations_maybe
Diffstat (limited to 'Emby.Server.Implementations/Data/BaseSqliteRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/BaseSqliteRepository.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index 73c31f49d..5030cbacb 100644 --- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs +++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs @@ -4,8 +4,8 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Threading; +using Jellyfin.Extensions; using Microsoft.Extensions.Logging; using SQLitePCL.pretty; @@ -194,7 +194,7 @@ namespace Emby.Server.Implementations.Data protected void AddColumn(IDatabaseConnection connection, string table, string columnName, string type, List<string> existingColumnNames) { - if (existingColumnNames.Contains(columnName, StringComparer.OrdinalIgnoreCase)) + if (existingColumnNames.Contains(columnName, StringComparison.OrdinalIgnoreCase)) { return; } |
