소스 검색

update user config

Luke Pulverenti 9 년 전
부모
커밋
1c28dcc78b
2개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 1
      MediaBrowser.Model/Configuration/UserConfiguration.cs
  2. 0 6
      MediaBrowser.Server.Implementations/Library/UserViewManager.cs

+ 0 - 1
MediaBrowser.Model/Configuration/UserConfiguration.cs

@@ -34,7 +34,6 @@ namespace MediaBrowser.Model.Configuration
 
         public SubtitlePlaybackMode SubtitleMode { get; set; }
         public bool DisplayCollectionsView { get; set; }
-        public bool DisplayFoldersView { get; set; }
 
         public bool EnableLocalPassword { get; set; }
 

+ 0 - 6
MediaBrowser.Server.Implementations/Library/UserViewManager.cs

@@ -105,12 +105,6 @@ namespace MediaBrowser.Server.Implementations.Library
                 }
             }
 
-            if (user.Configuration.DisplayFoldersView)
-            {
-                var name = _localizationManager.GetLocalizedString("ViewType" + CollectionType.Folders);
-                list.Add(await _libraryManager.GetNamedView(name, CollectionType.Folders, string.Empty, cancellationToken).ConfigureAwait(false));
-            }
-
             if (query.IncludeExternalContent)
             {
                 var channelResult = await _channelManager.GetChannelsInternal(new ChannelQuery