diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-03 20:21:42 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-03 20:21:42 +0100 |
| commit | 64a79341a734330ad19c9c70e969f31ba7a34de8 (patch) | |
| tree | 1e89fec86d3053380331fd5e66e5a6a2ba043fc0 /MediaBrowser.Api/StartupWizardService.cs | |
| parent | 89a3db9346be631cff524c6e3925c9ac25b5460d (diff) | |
Don't send info to Emby servers on install
Not even to a fake one
Diffstat (limited to 'MediaBrowser.Api/StartupWizardService.cs')
| -rw-r--r-- | MediaBrowser.Api/StartupWizardService.cs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/MediaBrowser.Api/StartupWizardService.cs b/MediaBrowser.Api/StartupWizardService.cs index 7fccbcc9b..0ddc1e1dd 100644 --- a/MediaBrowser.Api/StartupWizardService.cs +++ b/MediaBrowser.Api/StartupWizardService.cs @@ -68,35 +68,6 @@ namespace MediaBrowser.Api _config.Configuration.IsStartupWizardCompleted = true; _config.SetOptimalValues(); _config.SaveConfiguration(); - - Task.Run(UpdateStats); - } - - private async Task UpdateStats() - { - try - { - var url = string.Format("http://www.mb3admin.local/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}", - _appHost.SystemId, - _appHost.ApplicationVersion.ToString()); - - using (var response = await _httpClient.SendAsync(new HttpRequestOptions - { - - Url = url, - CancellationToken = CancellationToken.None, - LogErrors = false, - LogRequest = false - - }, "GET").ConfigureAwait(false)) - { - - } - } - catch - { - - } } public object Get(GetStartupConfiguration request) |
