aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Updates/InstallationManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-10-04 14:51:26 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-10-04 14:51:26 -0400
commit983b51e0830ece26c1bd8445359fda14f0f99925 (patch)
treeee7db0ab4d28771a719402d65c86c16a931d0c96 /Emby.Server.Implementations/Updates/InstallationManager.cs
parenta5b82cd2ec9b03e949ab79791dc6c0469390c085 (diff)
reduce socket activity
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 180463040..772f2338a 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -442,11 +442,6 @@ namespace Emby.Server.Implementations.Updates
/// <returns>Task{IEnumerable{PackageVersionInfo}}.</returns>
public async Task<IEnumerable<PackageVersionInfo>> GetAvailablePluginUpdates(Version applicationVersion, bool withAutoUpdateEnabled, CancellationToken cancellationToken)
{
- if (!_config.CommonConfiguration.EnableAutoUpdate)
- {
- return new PackageVersionInfo[] { };
- }
-
var catalog = await GetAvailablePackagesWithoutRegistrationInfo(cancellationToken).ConfigureAwait(false);
var systemUpdateLevel = GetSystemUpdateLevel();