1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-27 22:57:09 -04:00

Removed InstallUpdate, instead manually triggering ApplicationUpdate.

This commit is contained in:
Taloth Saldono
2015-01-27 20:32:48 +01:00
parent 2f06cc6ffa
commit 071839fa86
7 changed files with 33 additions and 63 deletions
+1 -13
View File
@@ -31,19 +31,7 @@ namespace NzbDrone.Core.Update
public UpdatePackage AvailableUpdate()
{
var latestAvailable = _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically)
{
return null;
}
if (latestAvailable == null)
{
_logger.ProgressDebug("No update available.");
}
return latestAvailable;
return _updatePackageProvider.GetLatestUpdate(_configFileProvider.Branch, BuildInfo.Version);
}
}
}