소스 검색

Don't send info to Emby servers on install

Not even to a fake one
Bond_009 6 년 전
부모
커밋
64a79341a7
1개의 변경된 파일0개의 추가작업 그리고 29개의 파일을 삭제
  1. 0 29
      MediaBrowser.Api/StartupWizardService.cs

+ 0 - 29
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)