mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Cleaned up some unused code and a bit more exception handling for GetDirectories.
This commit is contained in:
@@ -213,13 +213,5 @@ namespace NzbDrone.Web.Controllers
|
||||
|
||||
return episodes;
|
||||
}
|
||||
|
||||
private string GetSeasonString(int seasonNumber)
|
||||
{
|
||||
if (seasonNumber == 0)
|
||||
return "Specials";
|
||||
|
||||
return String.Format("Season #{0}", seasonNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user