Fixed: Use Update branch specified in settings instead of always develop

pull/6/head
Qstick 7 years ago
parent 9dcf90d241
commit 8219a8014b

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Update
public List<UpdatePackage> GetRecentUpdatePackages() public List<UpdatePackage> GetRecentUpdatePackages()
{ {
var branch = "develop";//_configFileProvider.Branch; var branch = _configFileProvider.Branch;
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version); return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
} }
} }

Loading…
Cancel
Save