Remove IsRunningLegacyOwin check

Dead code since upgrade to Jackett.Server
This commit is contained in:
flightlevel
2018-08-18 17:09:19 +10:00
parent 0ddaa3bef4
commit 524a0c7885
5 changed files with 2 additions and 50 deletions

View File

@@ -84,16 +84,7 @@ namespace Jackett.Common.Models.Config
if (options.ListenPublic && options.ListenPrivate)
{
Console.WriteLine("You can only use listen private OR listen publicly.");
//TODO: Remove once off Owin
if (EnvironmentUtil.IsRunningLegacyOwin)
{
Engine.Exit(1);
}
else
{
Environment.Exit(1);
}
Environment.Exit(1);
}
// SSL Fix