소스 검색

Fix TV ratings (and NC-17) not working with PC

Eric Reed 12 년 전
부모
커밋
092c245d9a
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      MediaBrowser.Server.Implementations/Localization/LocalizationManager.cs

+ 0 - 8
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;
         }
     }