mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
removed GetDisplayPreferencesId method
This commit is contained in:
@@ -272,7 +272,7 @@ namespace MediaBrowser.Controller.Dto
|
||||
{
|
||||
if (item.IsFolder && fields.Contains(ItemFields.DisplayPreferencesId))
|
||||
{
|
||||
dto.DisplayPreferencesId = ((Folder)item).GetDisplayPreferencesId(user.Id).ToString();
|
||||
dto.DisplayPreferencesId = ((Folder) item).DisplayPreferencesId.ToString("N");
|
||||
}
|
||||
|
||||
if (item.IsFolder)
|
||||
|
||||
@@ -81,16 +81,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the display preferences id.
|
||||
/// </summary>
|
||||
/// <param name="userId">The user id.</param>
|
||||
/// <returns>Guid.</returns>
|
||||
public Guid GetDisplayPreferencesId(Guid userId)
|
||||
{
|
||||
return (userId + DisplayPreferencesId.ToString()).GetMD5();
|
||||
}
|
||||
|
||||
public List<LinkedChild> LinkedChildren { get; set; }
|
||||
|
||||
protected virtual bool SupportsShortcutChildren
|
||||
|
||||
Reference in New Issue
Block a user