added more options for block unrated

This commit is contained in:
Luke Pulverenti
2013-12-26 11:53:23 -05:00
parent 1fe08c083a
commit a0e6c0422b
15 changed files with 107 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using MediaBrowser.Model.Configuration;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Entities
{
@@ -42,5 +43,10 @@ namespace MediaBrowser.Controller.Entities
{
Tags = new List<string>();
}
protected override bool GetBlockUnratedValue(UserConfiguration config)
{
return config.BlockUnratedBooks;
}
}
}