From 3f070819630bfd48b478c2d097c0e5902854f769 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 24 Jul 2021 13:21:44 -0500 Subject: remove GetOptions(); access should be handled through injection --- src/slskd/Application/Management/IManagementService.cs | 6 ------ src/slskd/Application/Management/ManagementService.cs | 6 ------ 2 files changed, 12 deletions(-) (limited to 'src') diff --git a/src/slskd/Application/Management/IManagementService.cs b/src/slskd/Application/Management/IManagementService.cs index 5ece698b..b3e13477 100644 --- a/src/slskd/Application/Management/IManagementService.cs +++ b/src/slskd/Application/Management/IManagementService.cs @@ -38,12 +38,6 @@ namespace slskd.Management /// An optional Exception to associate with the disconnect. void DisconnectServer(string message = null, Exception exception = null); - /// - /// Gets the current application options. - /// - /// - Options GetOptions(); - /// /// Gets the current state of the connection to the Soulseek server. /// diff --git a/src/slskd/Application/Management/ManagementService.cs b/src/slskd/Application/Management/ManagementService.cs index 7bcdc7be..66ed2b97 100644 --- a/src/slskd/Application/Management/ManagementService.cs +++ b/src/slskd/Application/Management/ManagementService.cs @@ -60,12 +60,6 @@ namespace slskd.Management public void DisconnectServer(string message = null, Exception exception = null) => Client.Disconnect(message, exception ?? new IntentionalDisconnectException(message)); - /// - /// Gets the current application options. - /// - /// - public Options GetOptions() => Options; - /// /// Gets the current state of the connection to the Soulseek server. /// -- cgit v1.2.3