From fd30d9497246756beb1f3bf2d1431a8cd708a378 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 5 Aug 2013 22:30:56 -0700 Subject: [PATCH] Removed ServiceModel references --- NzbDrone.Core.Test/NzbDrone.Core.Test.csproj | 1 - NzbDrone.Core/Indexers/BasicRssParser.cs | 3 ++- NzbDrone.Core/Indexers/NzbClub/NzbClubParser.cs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index bd2e4b122..26967ac0a 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -92,7 +92,6 @@ - diff --git a/NzbDrone.Core/Indexers/BasicRssParser.cs b/NzbDrone.Core/Indexers/BasicRssParser.cs index d8013bd1f..0cb552830 100644 --- a/NzbDrone.Core/Indexers/BasicRssParser.cs +++ b/NzbDrone.Core/Indexers/BasicRssParser.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Globalization; using System.IO; +using System.Linq; using System.Text.RegularExpressions; using System.Xml.Linq; using NLog; @@ -61,7 +62,7 @@ protected virtual string GetTitle(XElement item) protected virtual string GetNzbUrl(XElement item) { - return item.Links()[0]; + return item.Links().First(); } protected virtual string GetNzbInfoUrl(XElement item) diff --git a/NzbDrone.Core/Indexers/NzbClub/NzbClubParser.cs b/NzbDrone.Core/Indexers/NzbClub/NzbClubParser.cs index 738846020..9c17b0ffa 100644 --- a/NzbDrone.Core/Indexers/NzbClub/NzbClubParser.cs +++ b/NzbDrone.Core/Indexers/NzbClub/NzbClubParser.cs @@ -1,4 +1,5 @@ using System; +using System.Linq; using System.Text.RegularExpressions; using System.Xml.Linq; using NLog; @@ -49,7 +50,7 @@ protected override string GetTitle(XElement item) protected override string GetNzbInfoUrl(XElement item) { - return item.Links()[0]; + return item.Links().First(); } protected override string GetNzbUrl(XElement item)