diff options
| author | Fernando Fernández <ferferga.fer@gmail.com> | 2020-11-10 10:24:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 10:24:05 +0100 |
| commit | 27a1337cf3bea291a5f0be5fca9d8ee3470df525 (patch) | |
| tree | 84acf316e0825106ff3375b101ae2eedf70e840c | |
| parent | d6a04fd406a4aa7d7fd40e3b8183c10c8d7e150f (diff) | |
Remove underscore
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs b/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs index b31deba84..42b87ec5f 100644 --- a/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs +++ b/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs @@ -31,15 +31,15 @@ namespace Jellyfin.Server.Migrations.Routines /// <inheritdoc/> public void Perform() { - var virtual_folders = _libraryManager.GetVirtualFolders(false); + var virtualFolders = _libraryManager.GetVirtualFolders(false); _logger.LogInformation("Removing 'RemoveDownloadImagesInAdvance' settings in all the libraries"); - foreach (var virtual_folder in virtual_folders) + foreach (var virtualFolder in virtualFolders) { - var library_options = virtual_folder.LibraryOptions; - var collectionFolder = (CollectionFolder)_libraryManager.GetItemById(virtual_folder.ItemId); + var libraryOptions = virtualFolder.LibraryOptions; + var collectionFolder = (CollectionFolder)_libraryManager.GetItemById(virtualFolder.ItemId); // The property no longer exists in LibraryOptions, so we just re-save the options to get old data removed. - collectionFolder.UpdateLibraryOptions(library_options); - _logger.LogInformation("Removed from '{VirtualFolder}'", virtual_folder.Name); + collectionFolder.UpdateLibraryOptions(libraryOptions); + _logger.LogInformation("Removed from '{VirtualFolder}'", virtualFolder.Name); } } } |
