mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: added self hosted analytics to help improve nzbdrone. Can be turned off in Setting>General
This commit is contained in:
@@ -27,6 +27,7 @@ namespace NzbDrone.Core.Configuration
|
||||
bool EnableSsl { get; }
|
||||
bool LaunchBrowser { get; }
|
||||
bool AuthenticationEnabled { get; }
|
||||
bool AnalyticsEnabled { get; }
|
||||
string Username { get; }
|
||||
string Password { get; }
|
||||
string LogLevel { get; }
|
||||
@@ -139,6 +140,14 @@ namespace NzbDrone.Core.Configuration
|
||||
get { return GetValueBoolean("AuthenticationEnabled", false); }
|
||||
}
|
||||
|
||||
public bool AnalyticsEnabled
|
||||
{
|
||||
get
|
||||
{
|
||||
return GetValueBoolean("AnalyticsEnabled", true, persist: false);
|
||||
}
|
||||
}
|
||||
|
||||
public string Branch
|
||||
{
|
||||
get { return GetValue("Branch", "master").ToLowerInvariant(); }
|
||||
|
Reference in New Issue
Block a user