diff --git a/TGInstallerWrapper/Main.cs b/TGInstallerWrapper/Main.cs index 0372aa7204..c4ff509e59 100644 --- a/TGInstallerWrapper/Main.cs +++ b/TGInstallerWrapper/Main.cs @@ -117,16 +117,8 @@ namespace TGInstallerWrapper } catch { - try //maybe older version - { - Server.GetComponent().StopForUpdate(); //this version tries to stop the service itself - await Task.Factory.StartNew(() => Thread.Sleep(15000)); //so let's just let that happen first - } - catch - { - if (MessageBox.Show("ITGSService.PrepareForUpdate() threw an exception! Existing DreamDaemon instances will be terminated. Continue?", "Warning", MessageBoxButtons.YesNo) != DialogResult.Yes) - return; - } + if (MessageBox.Show("ITGSService.PrepareForUpdate() threw an exception! Existing DreamDaemon instances will be terminated. Continue?", "Warning", MessageBoxButtons.YesNo) != DialogResult.Yes) + return; } InstallCancelButton.Enabled = true; diff --git a/TGServerService/InterfaceBase.cs b/TGServerService/InterfaceBase.cs index 91d23b953c..6794f1f39f 100644 --- a/TGServerService/InterfaceBase.cs +++ b/TGServerService/InterfaceBase.cs @@ -41,12 +41,6 @@ namespace TGServerService //public api public void VerifyConnection() { } - //public api - public void StopForUpdate() - { - PrepareForUpdate(); - } - //public api public void PrepareForUpdate() { diff --git a/TGServiceInterface/Server.cs b/TGServiceInterface/Server.cs index 3270b8dfc5..fe603375cc 100644 --- a/TGServiceInterface/Server.cs +++ b/TGServiceInterface/Server.cs @@ -68,10 +68,6 @@ namespace TGServiceInterface [OperationContract] void PrepareForUpdate(); - [OperationContract] - [Obsolete("StopForUpdate is deprecated, please use PrepareForUpdate instead")] - void StopForUpdate(); - /// /// Retrieve's the service's version ///