aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Book.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-26 11:53:23 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-12-26 11:53:23 -0500
commita0e6c0422bebc90ef90600fa1f27deba65a0fd5f (patch)
tree77137369329489d7774c3f7988d3c10d6e259d70 /MediaBrowser.Controller/Entities/Book.cs
parent1fe08c083a3e6e1403b7ebd341198c0b0cce2fdd (diff)
added more options for block unrated
Diffstat (limited to 'MediaBrowser.Controller/Entities/Book.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Book.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.cs
index 87b90b824..b51e93690 100644
--- a/MediaBrowser.Controller/Entities/Book.cs
+++ b/MediaBrowser.Controller/Entities/Book.cs
@@ -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;
+ }
}
}