diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-07-24 11:45:04 -0400 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-07-24 11:45:04 -0400 |
| commit | 092c245d9ae7149983fb589db7634802a30ed0b0 (patch) | |
| tree | 9bb57021c0b4bf8a2e88e9e1749d3a1add03a603 | |
| parent | 4c19b9382feb560e3735f4a16fe691f1851b5244 (diff) | |
Fix TV ratings (and NC-17) not working with PC
| -rw-r--r-- | MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs b/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs index 817994c04..41f18b9a0 100644 --- a/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs +++ b/MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs @@ -237,14 +237,6 @@ namespace MediaBrowser.Server.Implementations.Localization } } - // Try and support ratings that are incorrectly prefixed with localization values (GB-PG, which is really just PG) - var index = rating.IndexOf('-'); - - if (index != -1) - { - return GetRatingLevel(rating.Substring(index + 1)); - } - return value == null ? (int?)null : value.Value; } } |
