Removed ServiceModel references

pull/3113/head
Mark McDowall 11 years ago
parent 083f649b5c
commit fd30d94972

@ -92,7 +92,6 @@
</Reference> </Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Data" /> <Reference Include="System.Data" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
</ItemGroup> </ItemGroup>

@ -2,6 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.IO; using System.IO;
using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Xml.Linq; using System.Xml.Linq;
using NLog; using NLog;
@ -61,7 +62,7 @@ namespace NzbDrone.Core.Indexers
protected virtual string GetNzbUrl(XElement item) protected virtual string GetNzbUrl(XElement item)
{ {
return item.Links()[0]; return item.Links().First();
} }
protected virtual string GetNzbInfoUrl(XElement item) protected virtual string GetNzbInfoUrl(XElement item)

@ -1,4 +1,5 @@
using System; using System;
using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Xml.Linq; using System.Xml.Linq;
using NLog; using NLog;
@ -49,7 +50,7 @@ namespace NzbDrone.Core.Indexers.NzbClub
protected override string GetNzbInfoUrl(XElement item) protected override string GetNzbInfoUrl(XElement item)
{ {
return item.Links()[0]; return item.Links().First();
} }
protected override string GetNzbUrl(XElement item) protected override string GetNzbUrl(XElement item)

Loading…
Cancel
Save