mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
d7459fa2ec
commit
ecb4b8e0aa
|
@ -72,7 +72,6 @@ namespace Emby.Server.Implementations.Data
|
||||||
_mediaAttachmentInsertPrefix = queryPrefixText.ToString();
|
_mediaAttachmentInsertPrefix = queryPrefixText.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="SqliteItemRepository"/> class.
|
/// Initializes a new instance of the <see cref="SqliteItemRepository"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -87,7 +87,7 @@ namespace Emby.Server.Implementations.Library.Validators
|
||||||
|
|
||||||
foreach (var item in deadEntities)
|
foreach (var item in deadEntities)
|
||||||
{
|
{
|
||||||
_logger.LogInformation("Deleting dead {ItemType} {ItemId} {ItemName}", item.Id.ToString("N", CultureInfo.InvariantCulture), item.Name, item.GetType().Name);
|
_logger.LogInformation("Deleting dead {ItemType} {ItemId} {ItemName}", item.GetType().Name, item.Id.ToString("N", CultureInfo.InvariantCulture), item.Name);
|
||||||
|
|
||||||
_libraryManager.DeleteItem(
|
_libraryManager.DeleteItem(
|
||||||
item,
|
item,
|
||||||
|
|
Loading…
Reference in a new issue