diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-16 14:59:37 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-16 14:59:37 -0400 |
| commit | a78ed5c61fef8506b85c5c8c4e2ed6972b3397f7 (patch) | |
| tree | d6c251cd60d07d8506c3817576f91a6b25644b3c /MediaBrowser.Common.Implementations/Updates/InstallationManager.cs | |
| parent | 7c0f97d56b538418ec80bcfbd04f78d22be49eba (diff) | |
cleanup method signatures
Diffstat (limited to 'MediaBrowser.Common.Implementations/Updates/InstallationManager.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/Updates/InstallationManager.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs b/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs index cf489d464..4913dd5a1 100644 --- a/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs +++ b/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs @@ -276,27 +276,13 @@ namespace MediaBrowser.Common.Implementations.Updates } /// <summary> - /// Gets the available plugin updates including registration information for each one. - /// Used with API and catalog. + /// Gets the available plugin updates. /// </summary> /// <param name="withAutoUpdateEnabled">if set to <c>true</c> [with auto update enabled].</param> /// <param name="cancellationToken">The cancellation token.</param> /// <returns>Task{IEnumerable{PackageVersionInfo}}.</returns> public async Task<IEnumerable<PackageVersionInfo>> GetAvailablePluginUpdates(bool withAutoUpdateEnabled, CancellationToken cancellationToken) { - var catalog = await GetAvailablePackages(cancellationToken).ConfigureAwait(false); - return FilterCatalog(catalog, withAutoUpdateEnabled); - } - - /// <summary> - /// Gets the available plugin updates from a static resource - no registration information. - /// Used for update checks. - /// </summary> - /// <param name="withAutoUpdateEnabled">if set to <c>true</c> [with auto update enabled].</param> - /// <param name="cancellationToken">The cancellation token.</param> - /// <returns>Task{IEnumerable{PackageVersionInfo}}.</returns> - public async Task<IEnumerable<PackageVersionInfo>> GetAvailablePluginUpdatesWithoutRegistrationInfo(bool withAutoUpdateEnabled, CancellationToken cancellationToken) - { var catalog = await GetAvailablePackagesWithoutRegistrationInfo(cancellationToken).ConfigureAwait(false); return FilterCatalog(catalog, withAutoUpdateEnabled); } |
