mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
removed redundant else
This commit is contained in:
@@ -147,10 +147,7 @@ namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
return item.Element("enclosure").Attribute("url").Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
return item.Element("link").Value;
|
||||
}
|
||||
return item.Element("link").Value;
|
||||
}
|
||||
|
||||
protected virtual string GetInfoUrl(XElement item)
|
||||
@@ -174,7 +171,7 @@ namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
return GetEnclosureLength(item);
|
||||
}
|
||||
else if (ParseSizeInDescription)
|
||||
if (ParseSizeInDescription)
|
||||
{
|
||||
return ParseSize(item.Element("description").Value, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user