aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs42
1 files changed, 0 insertions, 42 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs
index 6e8d0488b..283ea3637 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/LoadingViewVM.cs
@@ -91,48 +91,6 @@ namespace Tango.MachineStudio.UI.ViewModels
{
try
{
- Status = "Checking for critical updates...";
-
- LogManager.Log("Checking for forced update...");
-
- var client = new MachineStudioUpdateService();
-
- CheckForUpdatesResponse response = client.CheckForUpdates(new CheckForUpdatesRequest()
- {
- Email = "ForceUpdate",
- Password = "ForceUpdate",
- Version = ApplicationManager.Version.ToString(),
- }).Result;
-
- if (response.IsUpdateAvailable && response.ForcedUpdate)
- {
- LogManager.Log("Forced update found, Navigating to update view!");
-
- InvokeUI(() =>
- {
- if (_notificationProvider.ShowQuestion("Machine Studio has detected a critical update which must be installed in order for the application to run properly. Do you wish to download and install this update?"))
- {
- TangoMessenger.Default.Send(new Messages.ForcedUpdateMessage() { UpdateResponse = response });
- _navigationManager.NavigateTo(NavigationView.UpdateView);
- }
- else
- {
- ApplicationManager.ShutDown();
- }
-
- IsLoading = false;
- });
-
- return;
- }
- }
- catch (Exception ex)
- {
- LogManager.Log(ex, "Error checking for forced update!");
- }
-
- try
- {
Status = "Connecting to Team Foundation Services...";
_tfs.Initialize();
Thread.Sleep(500);