diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-26 11:53:23 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-26 11:53:23 -0500 |
| commit | a0e6c0422bebc90ef90600fa1f27deba65a0fd5f (patch) | |
| tree | 77137369329489d7774c3f7988d3c10d6e259d70 /MediaBrowser.Controller/Entities/Game.cs | |
| parent | 1fe08c083a3e6e1403b7ebd341198c0b0cce2fdd (diff) | |
added more options for block unrated
Diffstat (limited to 'MediaBrowser.Controller/Entities/Game.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Game.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Game.cs b/MediaBrowser.Controller/Entities/Game.cs index c15a31dd3..a32e0d2bf 100644 --- a/MediaBrowser.Controller/Entities/Game.cs +++ b/MediaBrowser.Controller/Entities/Game.cs @@ -1,4 +1,5 @@ -using MediaBrowser.Model.Entities; +using MediaBrowser.Model.Configuration; +using MediaBrowser.Model.Entities; using System; using System.Collections.Generic; @@ -129,5 +130,10 @@ namespace MediaBrowser.Controller.Entities return base.GetDeletePaths(); } + + protected override bool GetBlockUnratedValue(UserConfiguration config) + { + return config.BlockUnratedGames; + } } } |
