Skip to content

The Free Software Media System - Server Backend & API

Throw exception when calling unreachable function

Bond_00978dafb539994
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 5853d20c8f..98c7cf38b6 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -2291,10 +2291,7 @@ namespace Emby.Server.Implementations
/// <returns>Task{CheckForUpdateResult}.</returns>
public Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
{
-#if DEBUG
throw new Exception("Unimplemented");
-#endif
- return Task.FromResult(new CheckForUpdateResult());
}
/// <summary>