فهرست منبع

update user config

Luke Pulverenti 9 سال پیش
والد
کامیت
1c28dcc78b

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

@@ -34,7 +34,6 @@ namespace MediaBrowser.Model.Configuration
 
 
         public SubtitlePlaybackMode SubtitleMode { get; set; }
         public SubtitlePlaybackMode SubtitleMode { get; set; }
         public bool DisplayCollectionsView { get; set; }
         public bool DisplayCollectionsView { get; set; }
-        public bool DisplayFoldersView { get; set; }
 
 
         public bool EnableLocalPassword { 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)
             if (query.IncludeExternalContent)
             {
             {
                 var channelResult = await _channelManager.GetChannelsInternal(new ChannelQuery
                 var channelResult = await _channelManager.GetChannelsInternal(new ChannelQuery