removed system web from providers project

This commit is contained in:
Luis Miguel Almánzar 2013-06-28 00:17:30 -04:00
parent bc69a24834
commit 28be50b0f1
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Net" /> <Reference Include="System.Net" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />

View File

@ -675,7 +675,7 @@ namespace MediaBrowser.Providers.Movies
} }
if (!movie.LockedFields.Contains(MetadataFields.Overview)) if (!movie.LockedFields.Contains(MetadataFields.Overview))
{ {
movie.Overview = System.Web.HttpUtility.HtmlDecode(movieData.overview); movie.Overview = WebUtility.HtmlDecode(movieData.overview);
} }
movie.Overview = movie.Overview != null ? movie.Overview.Replace("\n\n", "\n") : null; movie.Overview = movie.Overview != null ? movie.Overview.Replace("\n\n", "\n") : null;
movie.HomePageUrl = movieData.homepage; movie.HomePageUrl = movieData.homepage;