1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

moved update url from db to nzbdrone.config

This commit is contained in:
kay.one
2013-07-29 19:12:16 -07:00
parent 87bbf2dc6a
commit 2dfebd2147
8 changed files with 14 additions and 74 deletions
@@ -22,6 +22,7 @@ namespace NzbDrone.Core.Configuration
string Username { get; }
string Password { get; }
string LogLevel { get; }
string UpdateUrl { get; }
}
public class ConfigFileProvider : IConfigFileProvider
@@ -95,6 +96,11 @@ namespace NzbDrone.Core.Configuration
get { return GetValueBoolean("AuthenticationEnabled", false); }
}
public string UpdateUrl
{
get { return GetValue("UpdateUrl", "http://update.nzbdrone.com/vnext/"); }
}
public string Username
{
get { return GetValue("Username", ""); }