moved update url from db to nzbdrone.config

This commit is contained in:
kay.one 2013-07-29 19:12:16 -07:00
commit 2dfebd2147
8 changed files with 14 additions and 74 deletions

View file

@ -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", ""); }