aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-07-24 13:21:44 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-07-24 13:21:44 -0500
commit3f070819630bfd48b478c2d097c0e5902854f769 (patch)
tree267646b51fe16812b63b188b8de92c2df7d97af1 /src
parent2cefc34a71c4edf8e70cd1a276223a7b6fc2cd73 (diff)
downloadslskd-3f070819630bfd48b478c2d097c0e5902854f769.tar.gz
remove GetOptions(); access should be handled through injection
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application/Management/IManagementService.cs6
-rw-r--r--src/slskd/Application/Management/ManagementService.cs6
2 files changed, 0 insertions, 12 deletions
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
@@ -39,12 +39,6 @@ namespace slskd.Management
void DisconnectServer(string message = null, Exception exception = null);
/// <summary>
- /// Gets the current application options.
- /// </summary>
- /// <returns></returns>
- Options GetOptions();
-
- /// <summary>
/// Gets the current state of the connection to the Soulseek server.
/// </summary>
/// <returns>The current server state.</returns>
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
@@ -61,12 +61,6 @@ namespace slskd.Management
=> Client.Disconnect(message, exception ?? new IntentionalDisconnectException(message));
/// <summary>
- /// Gets the current application options.
- /// </summary>
- /// <returns></returns>
- public Options GetOptions() => Options;
-
- /// <summary>
/// Gets the current state of the connection to the Soulseek server.
/// </summary>
/// <returns>The current server state.</returns>