move channel view setting to global

This commit is contained in:
Luke Pulverenti
2016-08-31 16:46:09 -04:00
parent b80882fadc
commit 3862207a73
3 changed files with 3 additions and 3 deletions

View File

@@ -120,8 +120,8 @@ namespace MediaBrowser.Server.Implementations.Library
}, cancellationToken).ConfigureAwait(false);
var channels = channelResult.Items;
if (user.Configuration.EnableChannelView && channels.Length > 0)
if (_config.Configuration.EnableChannelView && channels.Length > 0)
{
list.Add(await _channelManager.GetInternalChannelFolder(cancellationToken).ConfigureAwait(false));
}