diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
index d60e6cca3a..3cfdc8053b 100644
--- a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
+++ b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
@@ -90,6 +90,18 @@ namespace MediaBrowser.Common.Implementations.Security
await Task.WhenAll(tasks);
}
+ ///
+ /// Gets the registration status.
+ /// This overload supports existing plug-ins.
+ ///
+ /// The feature.
+ /// The MB2 equivalent.
+ /// Task{MBRegistrationRecord}.
+ public async Task GetRegistrationStatus(string feature, string mb2Equivalent = null)
+ {
+ return await MBRegistration.GetRegistrationStatus(_httpClient, _jsonSerializer, feature, mb2Equivalent).ConfigureAwait(false);
+ }
+
///
/// Gets the registration status.
///
@@ -97,7 +109,7 @@ namespace MediaBrowser.Common.Implementations.Security
/// The MB2 equivalent.
/// The version of this feature
/// Task{MBRegistrationRecord}.
- public async Task GetRegistrationStatus(string feature, string mb2Equivalent = null, string version = null)
+ public async Task GetRegistrationStatus(string feature, string mb2Equivalent, string version)
{
return await MBRegistration.GetRegistrationStatus(_httpClient, _jsonSerializer, feature, mb2Equivalent, version).ConfigureAwait(false);
}
diff --git a/MediaBrowser.Common/Security/ISecurityManager.cs b/MediaBrowser.Common/Security/ISecurityManager.cs
index b7dd8b617f..1555f1d863 100644
--- a/MediaBrowser.Common/Security/ISecurityManager.cs
+++ b/MediaBrowser.Common/Security/ISecurityManager.cs
@@ -24,14 +24,22 @@ namespace MediaBrowser.Common.Security
string LegacyKey { get; set; }
///
- /// Gets the registration status.
+ /// Gets the registration status. Overload to support existing plug-ins.
///
/// The feature.
/// The MB2 equivalent.
/// The version of the feature
/// Task{MBRegistrationRecord}.
- Task GetRegistrationStatus(string feature, string mb2Equivalent = null, string version = null);
+ Task GetRegistrationStatus(string feature, string mb2Equivalent = null);
+ ///
+ /// Gets the registration status.
+ ///
+ /// The feature.
+ /// The MB2 equivalent.
+ /// The version of the feature
+ /// Task{MBRegistrationRecord}.
+ Task GetRegistrationStatus(string feature, string mb2Equivalent, string version);
///
/// Load all registration info for all entities that require registration
///