mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed code redundancies.
This commit is contained in:
@@ -118,12 +118,9 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||
return null;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
var matchingSeries = allSeries.FirstOrDefault(s => s.ImdbNumber == series.TvdbId || s.Label == series.Title);
|
||||
var matchingSeries = allSeries.FirstOrDefault(s => s.ImdbNumber == series.TvdbId || s.Label == series.Title);
|
||||
|
||||
if (matchingSeries != null) return matchingSeries.File;
|
||||
}
|
||||
if (matchingSeries != null) return matchingSeries.File;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user